F
Fred
The following code should set all dates in the selected
area to the new format. But it does not.
FYI: The paste values is to get rid of all formulas in the
target area.
---------------
Selection.Copy
Selection.PasteSpecial Paste:=xlValues,
Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
'
Range("A12:A100").Select
Selection.NumberFormat = "m/d/yy"
---------------
Using cell format within Excel does change the format.
What am I doing wrong?
Thanks,
Fred
area to the new format. But it does not.
FYI: The paste values is to get rid of all formulas in the
target area.
---------------
Selection.Copy
Selection.PasteSpecial Paste:=xlValues,
Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
'
Range("A12:A100").Select
Selection.NumberFormat = "m/d/yy"
---------------
Using cell format within Excel does change the format.
What am I doing wrong?
Thanks,
Fred