Hi
I have a file which contains a text value which is in the format ##-####. The problem I have is that when I copy the data into a new workbook using VBA and save it as a CSV file some of the values will show as dates in the CSV file.
For example if the text value is 02-2019 it can show as Feb 2019 whereas I need it to show as 02-2019.
This can be the same for and values where the first two digits are 01 - 12.
The Excel file where I hold the data has the cells formatted as Text so there isn't a problem in the base data. Is there a way I can ensure that data is kept as a text value when it is copied over.
For information I am using Excel 2016 and the file has 250k records in it.
Thanks
StewartS
I have a file which contains a text value which is in the format ##-####. The problem I have is that when I copy the data into a new workbook using VBA and save it as a CSV file some of the values will show as dates in the CSV file.
For example if the text value is 02-2019 it can show as Feb 2019 whereas I need it to show as 02-2019.
This can be the same for and values where the first two digits are 01 - 12.
The Excel file where I hold the data has the cells formatted as Text so there isn't a problem in the base data. Is there a way I can ensure that data is kept as a text value when it is copied over.
For information I am using Excel 2016 and the file has 250k records in it.
Thanks
StewartS