I received a file with a date field that contains values such as...
[TABLE="width: 105"]
<colgroup><col></colgroup><tbody>[TR]
[TD]26-04-11
[/TD]
[/TR]
[TR]
[TD]27-08-11[/TD]
[/TR]
[TR]
[TD="align: right"]12/2/2011
[/TD]
[/TR]
[TR]
[TD="align: right"]8/8/2011[/TD]
[/TR]
[TR]
[TD]15-03-11
[/TD]
[/TR]
[TR]
[TD]13-02-11
[/TD]
[/TR]
</tbody>[/TABLE]
I need a VBA solution that will convert these values so that they can be sorted (and displayed) as recognizable dates.
I tried to come up with something, but the code got so convoluted and unwieldy that all it really does is just confuse me to look at it now. (and no, I haven't been able to get it to work)
I obviously need something that is concise and effective (as opposed to something convoluted and confusing).
Can anyone help me work this out?
Thanks
[TABLE="width: 105"]
<colgroup><col></colgroup><tbody>[TR]
[TD]26-04-11
[/TD]
[/TR]
[TR]
[TD]27-08-11[/TD]
[/TR]
[TR]
[TD="align: right"]12/2/2011
[/TD]
[/TR]
[TR]
[TD="align: right"]8/8/2011[/TD]
[/TR]
[TR]
[TD]15-03-11
[/TD]
[/TR]
[TR]
[TD]13-02-11
[/TD]
[/TR]
</tbody>[/TABLE]
I need a VBA solution that will convert these values so that they can be sorted (and displayed) as recognizable dates.
I tried to come up with something, but the code got so convoluted and unwieldy that all it really does is just confuse me to look at it now. (and no, I haven't been able to get it to work)
I obviously need something that is concise and effective (as opposed to something convoluted and confusing).
Can anyone help me work this out?
Thanks