I have the data below on a worksheet.
Objective:
- Find and replace all occurrences of “February” and replace it with “March”
- Instead of specifying a range is there any way to specify the entire worksheet?
Problem:
- Does the objective 1 above but it replaces the entire cell to March. So if you have “February Date” it changes it to “March” rather than “March Date”
Data:
February
February
February Date
tell application "Microsoft Excel"
activate
try
repeat
tell (find range "A:N" what "February" with match case) to set value to "March"
end repeat
end try
end tell
Any help would be appreciated.