Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel start options

Status
Not open for further replies.

PhilBreau

Technical User
Joined
Dec 14, 2001
Messages
108
Location
CA
I have looked ad the optional switches and I'm trying to open a .CSV file and have the fields read as they were when it was a DOS file.

Eg: A record looks like this in text:
12345,1-7,8500,H07-038.

When it is opened in Excel, the second field shows as 7-Jan. How can I open the .csv file as is. I have copied the file to a .txt and specified text for each column. This is too tedious. I have a lot of files I need to do this with.

Thank you to any one who can help. It would be greatly appreciated.
 
"I have a lot of files I need to do this with."

All at once?
One time deal or every day, week, minute, hour...?

One of our coders here could likely write you some code that would loop through a folder of documents and format them all as text and save them.

Alternatively, record yourself a macro that:

--Ctrl+A to select all
--Format-Cells, choose Text
--Ctrl+home or all your cells will be selected

Recording an Excel macro:

Hope this helps! Anne Troy
Word and Excel Macros
Coming soon: wX
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top