Hi Everyone,
Its been a little while since I've delved into writing/interpreting vba code and I can't quite seem to remember or find a function I'm trying to achieve.
What I want to develop is a macro that will look down a column and replace any cell value that equals "X" with "Y". All values will be text strings.
I'm going to be defining a whole bunch of different X->Y, G->F, etc., and I expect this list to grow over time (I have no issue with modifying the code afterwards, I just can't seem to get the proper syntax for the overall operation). Essentially I would like the macro to look through an entire column and change any X's to Y's, any G's to F's, etc. for each term change I define through an if/then (I'm assuming the if/then is the proper method here).
If possible (bonus function) when new terms arise that are not in my code, I would like the code to indicate them in some way (their cell is highlighted a color or the word "New" appears in an adjacent column in the same row, etc.)
Can anyone help me out? Do you need any more clarity?
Thanks in advance,
-LM
Bookmarks