Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Turn on the macro recorder while you open the file manually and go through
the text import wizard. After the file is opened, you turn off the macro recorder. Now you have the code that opens the file without using the wizard, but uses the settings you selected. -- Regards, Tom Ogilvy "Mike" wrote in message ... Hello, I want to create a macro that would open my "mytext.txt" file to excel worksheet without going through the prompt that needs some formatting, like comma delimited, etc. My text file will be look like this before I open it to excel: 2,70037,"8832322",25914,"2128123","ABC COMPANY","030628" 879,307,"100101118141",3522,"2227711","BERRY INC","030628" . . . etc. Can anyone provide me some ideas or tips. Thanks in advance for your help. Mike |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro error opening text file | Excel Discussion (Misc queries) | |||
Opening an Excel file with macro | Excel Discussion (Misc queries) | |||
Enable/Disbale Macro on opening Excel file | Excel Discussion (Misc queries) | |||
Opening a text file in excel | Excel Discussion (Misc queries) | |||
Opening text file in Excel through macro | Excel Programming |