Stretchwickster
Programmer
Sorry if this question has already been asked countless times but I couldn't find it in the FAQs or using a search of this site and the VBA help wasn't much help!...
When I open a csv file in Excel it automatically converts text that looks like a date into a date. I have items in the csv file that are named: 11-1, 11-2 and 11-3 and when excel sees these it blindly assumes they are dates when they are not, so I end up with 11-Jan, 11-Feb and 11-Mar. I've tried unchecking 'Enable AutoComplete for cell values' and 'Extend list formats and formulas' in the Options dialog (Tools menu) to no avail. Can anyone help? I need to be able to set an option to overcome this programmatically. Clive
When I open a csv file in Excel it automatically converts text that looks like a date into a date. I have items in the csv file that are named: 11-1, 11-2 and 11-3 and when excel sees these it blindly assumes they are dates when they are not, so I end up with 11-Jan, 11-Feb and 11-Mar. I've tried unchecking 'Enable AutoComplete for cell values' and 'Extend list formats and formulas' in the Options dialog (Tools menu) to no avail. Can anyone help? I need to be able to set an option to overcome this programmatically. Clive