Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Auto formatting
I have to import/export files in and out of access and other programs using
excel on a daily basis. All of these files are .CSV files. Some of the data in these files are the same as a date. For example; mar2 or feb-1. Both of these are product numbers and are not intended to be dates. When I open the file in excel it automatically changes them to dates. If I then highlight them and convert them to text I get a 5 digit number like "38413". So each time I open them I have to go through all the lines that I know were converted and change them back to the original data. If I forget or miss just one line then I can corrupt my database. I would like to know 2 things. First, how do I tell Excel not to autoformat (especially dates) Second, can I tell Excel to treat every thing as "Text" when opening a CSV file? |
#2
|
|||
|
|||
If you rename your .csv files to .txt, then you can use File|open and you'll see
the data import wizard. You can specify that the "date like" field is really text. Jake Bailey wrote: I have to import/export files in and out of access and other programs using excel on a daily basis. All of these files are .CSV files. Some of the data in these files are the same as a date. For example; mar2 or feb-1. Both of these are product numbers and are not intended to be dates. When I open the file in excel it automatically changes them to dates. If I then highlight them and convert them to text I get a 5 digit number like "38413". So each time I open them I have to go through all the lines that I know were converted and change them back to the original data. If I forget or miss just one line then I can corrupt my database. I would like to know 2 things. First, how do I tell Excel not to autoformat (especially dates) Second, can I tell Excel to treat every thing as "Text" when opening a CSV file? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Auto Formatting an Excel Spreadsheet | Excel Discussion (Misc queries) | |||
Formatting dates in the future | Excel Worksheet Functions | |||
Formatting cells Auto fill color using €œIf€ | Excel Worksheet Functions | |||
Conditional formatting not available in Excel | Excel Discussion (Misc queries) | |||
Response to Frank: AM-PM Auto formatting | Excel Discussion (Misc queries) |