Halpplox
New Member
- Joined
- May 30, 2024
- Messages
- 1
- Office Version
- Prefer Not To Say
- Platform
- Windows
I have no VBA coding experience except for recording macros hence I am stuck with this problem.
I have a spreadsheet with column J that contains string data type in all its cells.
Some of the cells contain string expression that begin exactly like this "The committee reviewed the case in Apr 2024*" and ends in a variety of ways.
What I need is for the date in such cells to be updated based on the today's month and year when I run the macro while everything else in the cell remains the same.
So If I ran the macro in May, then the string will be updated to "The committee reviewed the case in May 2024*" where * is the wildcard of whatever string the cell ends in.
Thanks in advance!
I have a spreadsheet with column J that contains string data type in all its cells.
Some of the cells contain string expression that begin exactly like this "The committee reviewed the case in Apr 2024*" and ends in a variety of ways.
What I need is for the date in such cells to be updated based on the today's month and year when I run the macro while everything else in the cell remains the same.
So If I ran the macro in May, then the string will be updated to "The committee reviewed the case in May 2024*" where * is the wildcard of whatever string the cell ends in.
Thanks in advance!