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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to prevent excel converting imported data to dates

Status
Not open for further replies.

pmgatwork

Programmer
May 7, 2004
83
GB
Hello
I have a csv file that has one column with an account number in it.

This is for example MARC03.

When this is imported excel converts this to Mar-03. Is there any way to stop this. The file is required to be a csv file and it needs to iimport straight into excel as the user will not be very technical

Thanks
Peter
 
hi,

IMPORT rather than OPEN this file!

Use the Data > Get external data > Text files... feature to IMPORT and CONTROL each column's import format individually in the import wizard.

Once you have done this (ONE TIME) the import spec is saved with the workbook and all you need do is REFRESH the querytable.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top