GTretick
Member
I have a report that I export from my software to Excel.
For whatever reason the report has two date columns that it shows as text rather than a date format and both text layouts are different!
I want to run a macro that among other things converts these dates to Excel formatted dates but I can't get it to do so.
I've included a stripped down copy of the report output.
I can get Excel to do so using formulas within Excel. I have shown these in columns K and L marked in red font as my desired output.
(note that the formulas shown are for demonstration purposes, actual output would be as numbers, not an actual formula).
I cannot work out how to get VBA to do this for me.
Can anybody shed some light as to how to achieve this?
I consider myself as a beginner VBA user. I've developed some decent VBA routines but usually with the help of referencing examples on the internet. If you may need to tailor your response with this in mind.
Thanks in advance
For whatever reason the report has two date columns that it shows as text rather than a date format and both text layouts are different!
I want to run a macro that among other things converts these dates to Excel formatted dates but I can't get it to do so.
I've included a stripped down copy of the report output.
I can get Excel to do so using formulas within Excel. I have shown these in columns K and L marked in red font as my desired output.
(note that the formulas shown are for demonstration purposes, actual output would be as numbers, not an actual formula).
I cannot work out how to get VBA to do this for me.
Can anybody shed some light as to how to achieve this?
I consider myself as a beginner VBA user. I've developed some decent VBA routines but usually with the help of referencing examples on the internet. If you may need to tailor your response with this in mind.
Thanks in advance