C
clist-1
I've recorded a macro to insert lines, copy values, and change the
month within the copied values, but if I run the macro to test, the
month changes don't occur. They do occur properly when I record the
macro.
An example of a copied value is 2013/03/30 and it is formatted as
Custom yyyy-mmm-dd. Here's the part from the macro to do the replace:
Range("A4:A33").Select
Selection.Replace What:="/03/", Replacement:="/04/", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False,
_
ReplaceFormat:=False
Any suggestions to get this to work properly?
Thanks for any help.
month within the copied values, but if I run the macro to test, the
month changes don't occur. They do occur properly when I record the
macro.
An example of a copied value is 2013/03/30 and it is formatted as
Custom yyyy-mmm-dd. Here's the part from the macro to do the replace:
Range("A4:A33").Select
Selection.Replace What:="/03/", Replacement:="/04/", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False,
_
ReplaceFormat:=False
Any suggestions to get this to work properly?
Thanks for any help.