Hello everyone,
I've got data set which has two date formats where one is DATE and the other is TEXT. Ideally I would like VBA to convert TEXT to date. I appreciate any helpful tips! Sample format is as follows:
Shorter one is DATE, longer with timestamp is TEXT. Ideal ouput is eg. 11/01/2016 as a date format.
[TABLE="width: 117"]
<tbody>[TR]
[TD="align: right"]12/31/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]11/01/2016
[/TD]
[/TR]
[TR]
[TD="align: right"]12/31/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]12/31/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]12/31/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]09/30/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]10/17/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]11/15/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]09/30/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]11/01/2016
[/TD]
[/TR]
[TR]
[TD="align: right"]11/01/2016
[/TD]
[/TR]
[TR]
[TD="align: right"]09/30/2016 23:59
[/TD]
[/TR]
</tbody>[/TABLE]
Thank you very much dear community,
W
I've got data set which has two date formats where one is DATE and the other is TEXT. Ideally I would like VBA to convert TEXT to date. I appreciate any helpful tips! Sample format is as follows:
Shorter one is DATE, longer with timestamp is TEXT. Ideal ouput is eg. 11/01/2016 as a date format.
[TABLE="width: 117"]
<tbody>[TR]
[TD="align: right"]12/31/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]11/01/2016
[/TD]
[/TR]
[TR]
[TD="align: right"]12/31/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]12/31/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]12/31/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]09/30/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]10/17/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]11/15/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]09/30/2016 23:59
[/TD]
[/TR]
[TR]
[TD="align: right"]11/01/2016
[/TD]
[/TR]
[TR]
[TD="align: right"]11/01/2016
[/TD]
[/TR]
[TR]
[TD="align: right"]09/30/2016 23:59
[/TD]
[/TR]
</tbody>[/TABLE]
Thank you very much dear community,
W