I have the following piece of code which splits a string date formatted 20070101(yyyymmdd) and attempts to rebuild it in to dd/mm/yyyy 01/01/2007.
The last line which trys to concatanate the cells together does not work and I would presume there is a much better solution to this anyway!.
Any guidance appreciated.
Happiness is...not getting what you want but wanting what you have already got
Code:
Range("j1").Select
ActiveCell.Value = "=Left(I3, 4)"
Range("k1").Select
ActiveCell.Value = "=Mid(I3, 5, 2)"
Range("l1").Select
ActiveCell.Value = "=Right(I3, 2)"
Range("m1").Select
ActiveCell.Value = "=L3 & / & K3 & / & j3"
Any guidance appreciated.
Happiness is...not getting what you want but wanting what you have already got