RunTime91
07-09-2010, 01:39 AM
Greetings all,
I am working with data that is formatted as such: 1-10-50 or 3-15-50, etc.; naturally, excel turns this into 1/10/1950 or 3/15/1950, etc. Is there some code that can help me turn this back to the original formatting. (btw, setting the cell to text does not work).
The finished cell content needs to be:
1-10
3-15
These are not dates as excel would like to think.
I am currently working with a rather verbose loop 'text to columns' code and I am looking for something that will work a little faster.
Thanks in advance for all your help
I am working with data that is formatted as such: 1-10-50 or 3-15-50, etc.; naturally, excel turns this into 1/10/1950 or 3/15/1950, etc. Is there some code that can help me turn this back to the original formatting. (btw, setting the cell to text does not work).
The finished cell content needs to be:
1-10
3-15
These are not dates as excel would like to think.
I am currently working with a rather verbose loop 'text to columns' code and I am looking for something that will work a little faster.
Thanks in advance for all your help