All.
Presently I recorded the Find/Replace function to look for any data that had "19" & to replce it with "20".
Upon further review of this data (in mm/dd/yyyy format)I would like to know if there is a way to code Find/Replace so that it only looks for the first two digits of the yyyy area ?
In short, if the data comes in as 1921 can I alter Find/Replace so that the result is 2021 ?
I cannot change the source. Sometimes the data comes through this way.
Recorded code:
Range("E6").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Replace What:="19", Replacement:="20", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Thanx for any & all help/guidance.
Presently I recorded the Find/Replace function to look for any data that had "19" & to replce it with "20".
Upon further review of this data (in mm/dd/yyyy format)I would like to know if there is a way to code Find/Replace so that it only looks for the first two digits of the yyyy area ?
In short, if the data comes in as 1921 can I alter Find/Replace so that the result is 2021 ?
I cannot change the source. Sometimes the data comes through this way.
Recorded code:
Range("E6").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Replace What:="19", Replacement:="20", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Thanx for any & all help/guidance.