-
WSchuckrau
AskWoody Lounger“12-34-567-8912345.JOHN DOE” .”MARY SMITH.MIKE JONES” .
7FF6FF6FFF6FFFFFFF0DDCD4CDC7407DCDE4EDCEC0DCDC4DDDCE7404444444444444444444444444
F12034056708912345A16850465F05F4198024938A4925016552F050000000000000000000000000In this string the *0A* returns Z with an inverted caret above it. The tab works as expected.
-
WSchuckrau
AskWoody LoungerI am the middle man here so I will try to explain things as I understand them. A file is created through a mainframe program which produces a text file. The file is then given an xls extension so the recipients open it in excel. The program that produces the file is where the wrap coding needs to be. That’s where 0A was tried. It produced a Z with the ^ above it. I am not writing the program. I was just boasting about Woody’s Lounge and I was asked to post the question. The objective is when the tab delimited file is opened in Excel it appropiately wraps text in the cells designated in the coding.
The recipients of these files are not “computer” literate, so you have to do everything for them.
Thanks for thinking about this. My dedication ends in 5 minutes and LET THE WEEKEND BEGIN!!!
-
WSchuckrau
AskWoody LoungerWe tried 0A. 0D wrapped the text to the next cell. We need to wrap within the cell.
-
WSchuckrau
AskWoody LoungerIt will be embedded in a mainframe text file to cause certain strings of text to wrap automatically when the file is opened in Excel. That is how the programmer explained it to me.
-
WSchuckrau
AskWoody LoungerWhat would be the hexidecimal equivalent?
-
WSchuckrau
AskWoody LoungerThat is so slick. My comments always credit Woody’s Lounge. Thanks for the help.
-
WSchuckrau
AskWoody LoungerWhen I read your suggestion, rather than ask how I would do it, I thought I would just do what I understood for now. Creating the text file was working…but then I began to get inconsistent results. When I set up the import specification I walked through the wizard and choosing TAB delimited it indicated two columns. The second column had the data I wanted so I imported column two. Today the same file, TAB delimited, is only one column so I get nothing. I walked through the wizard and if I use COMMA delimited I get two columns again but it splits at a different point. Now I am really confused. Then I remembered your suggestion to use the Dir command within my procedure, so I decided to ask how to modify my code to skip making the text file.
Here is my current procedure:
Private Sub cmdGetFileList_Click()
Shell “cmd /c del c:SCPFiles.txt”
Shell “cmd /c dir “”M:Synoptic Coding Project – 2006 FebruaryCompleted – Admin Reviews”” /s” _
& “>>c:SCPFiles.txt”
MsgBox “This step imports SCPFiles.txt into the impSCPFiles table.”, vbInformation, “Button Explanation”
DoCmd.SetWarnings False
DoCmd.OpenQuery “qry_EMPTY_impSCPFiles”
DoCmd.OpenQuery “qry_EMPTY_tblFileNames”
DoCmd.TransferText acImportDelim, “SCPFiles Import Specification”, _
“impSCPFiles”, “C:SCPFiles.txt”, False
DoCmd.OpenQuery “qryAppendFileNames”
DoCmd.SetWarnings True
MsgBox “Import Completed”
End Sub -
WSchuckrau
AskWoody LoungerGee whiz…I replied to myself. Fortunately, it was a simple error made when the folder was created. It works fine.
Thanks again for your time. I really thought I had an issue here. Sorry.
-
WSchuckrau
AskWoody LoungerActually, I was able to test the runtime on a machine with office 2000 pro, but not with office 2000 standard. That’s how I found out the runtime disabled Access 2000 so every database opened in runtime. There was a service patch that fixed that.
Thanks for your time.
-
WSchuckrau
AskWoody LoungerThank You.
-
WSchuckrau
AskWoody LoungerMarch 24, 2006 at 6:30 pm in reply to: 2467 Runtime Error? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8) #1006595Why are you closing the form before the routine?
-
WSchuckrau
AskWoody LoungerGentleman, your expertise is greatly appreciated. God bless you.
-
WSchuckrau
AskWoody Loungerrory, you know I love this stuff, but I know so little. I looked up late binding in the knowledge base since I was not familiar with the term and applied your example. I am converting text files to excel format. Here’s my procedure:
Public Function ConvertFiles()
Dim RS As DAO.Recordset, DB As DAO.Database
Dim strFileName As String
Dim xlObj As Object
Dim xlWbk As Object
Set DB = CurrentDb()
Set RS = DB.OpenRecordset(“tblFileNames”)
‘On Error Resume Next
RS.MoveFirst
Do Until RS.EOF
strFileName = RS(“Folder”) & “” & RS(“FileNames”)
Set xlObj = CreateObject(“Excel.Application”)
xlObj.DisplayAlerts = False
Set xlWbk = xlObj.Workbooks.Open(strFileName)
xlWbk.SaveAs FileName:= _
strFileName, FileFormat:=xlNormal, Password:=””, WriteResPassword:=””, _
ReadOnlyRecommended:=False, CreateBackup:=False
RS.MoveNext
xlWbk.Close SaveChanges:=True
Set xlWbk = Nothing
xlObj.Quit
Set xlObj = Nothing
Loop
xlObj.DisplayAlerts = True
RS.Close
End FunctionI figure I could drop everything past “strFileName, FileFormat:=xlNormal”, but I don’t know how to declare xlNormal.
-
WSchuckrau
AskWoody LoungerThat did it! Thanks again. Just curious though…why set the alerts to true after each loop? Why not just at the end?
-
WSchuckrau
AskWoody LoungerWorks every time now. Is there a way to turn off the warnings? Since I’m not renaming the files I get the “file already exists” warning for each file as it is saved.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
WinRE KB5057589 fake out
by
Susan Bradley
5 hours, 34 minutes ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
5 hours, 42 minutes ago -
Firefox 137
by
Charlie
8 hours, 25 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
11 hours, 54 minutes ago -
Windows 11 Insider Preview build 26120.3863 (24H2) released to BETA
by
joep517
12 hours, 6 minutes ago -
Windows 11 Insider Preview build 26200.5551 released to DEV
by
joep517
12 hours, 8 minutes ago -
New Windows 11 PC setup — can I start over in the middle to set up a local id?
by
ctRanger
5 hours, 13 minutes ago -
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
15 hours, 40 minutes ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
21 hours, 41 minutes ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
1 day, 8 hours ago -
Office apps read-only for family members
by
b
1 day, 10 hours ago -
Defunct domain for Microsoft account
by
CWBillow
1 day, 7 hours ago -
24H2??
by
CWBillow
21 hours, 41 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
15 hours, 55 minutes ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
16 hours, 9 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
6 hours, 56 minutes ago -
two pages side by side land scape
by
marc
3 days, 8 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
3 days, 10 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
2 days, 13 hours ago -
Security Essentials or Defender?
by
MalcolmP
2 days, 16 hours ago -
April 2025 updates out
by
Susan Bradley
1 hour, 14 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
2 days, 9 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
1 day, 23 hours ago -
Creating an Index in Word 365
by
CWBillow
3 days, 2 hours ago -
Coming at Word 365 and Table of Contents
by
CWBillow
1 day, 14 hours ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
4 days, 5 hours ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
4 days, 8 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
4 days, 10 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
4 days, 8 hours ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
10 hours, 33 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.