PDA

View Full Version : Date issue



alexandro88
11-02-2011, 08:32 PM
Dim LValue as String
LValue = Format(Cells(1, 14), "d - mmm - yy")

What problem with my code? My variable Lvalue not able to detect the date.

macropod
11-02-2011, 11:51 PM
Try:
LValue = Format(Cells(1, 14).Value, "d - mmm - yy")