Forum Discussion
VBA code to find and replace in each row based on cell value
I don't understand. In the first post, you wrote "find the value in column B and replace with the value in column C for that row". I took that literally, but apparently you want something else. Please explain in detail and very clearly what you do want instead.
- JamesPhImpJul 27, 2023Copper Contributor
HansVogelaar effectively need it to do this:
and so on for each row..
there are formulas in rows e onwards that contain the text so need it updated.
- HansVogelaarJul 27, 2023MVP
Why would you want to replace 23010 with 2307111?
- JamesPhImpJul 28, 2023Copper Contributor
HansVogelaar Apologies the screenshot had a typo, should be 230711. Each day links to a new file with a date format YYMMDD and we update once a month or less, so I don't want to have to go and do 30+ different find and replace functions manually and unfortunately the indirect formula means opening each file to link to a dynamic file name as far as I am aware.