Hello Everyone,
I have a folder in which a lot of small files are stashed (ooutput of an apparatus) from which i need (among others) the date/time value. My macro opens each file copies the date/time and puts it in a table. From there i do all bunch of stuff with the data.
Problem is that the date/time format of the copied cell is not the right one. However i can't change it using format cell/date. It stays the same. If i enter the cell, put the cursor before the numbers and put backspace, the cell goes into the right format. This i cannot do using the find/replace function, that doesn't work.
I suspect that there is a hidden format which i copy with it, because if i copy the data to notepad and back, the format is gone and i can use the data. Alas notepad I cannot reach from within excel and VBA...
Does anyone know how i can make it work again, lose the format or change the value so that i can make it a date again?
thank you in advance,
Draconia
I have a folder in which a lot of small files are stashed (ooutput of an apparatus) from which i need (among others) the date/time value. My macro opens each file copies the date/time and puts it in a table. From there i do all bunch of stuff with the data.
Problem is that the date/time format of the copied cell is not the right one. However i can't change it using format cell/date. It stays the same. If i enter the cell, put the cursor before the numbers and put backspace, the cell goes into the right format. This i cannot do using the find/replace function, that doesn't work.
I suspect that there is a hidden format which i copy with it, because if i copy the data to notepad and back, the format is gone and i can use the data. Alas notepad I cannot reach from within excel and VBA...
Does anyone know how i can make it work again, lose the format or change the value so that i can make it a date again?
thank you in advance,
Draconia