I have added "Public OldValue As String" into the General Declarations as you suggested. This is in worksheet AnnualBudget. My Code now looks like this:
So, I change a cell in "B7:B132" in the AnnualBudget worksheet and then run the following Module:
and I get this error message:
Microsoft Visual Basic
Compile error:
Ambiguous name detected: OldValue
OK Help
If I add "Public OldValue As String" to this second Module (called ModuleTest) as follows:
the module runs but shows OldValue = "".
I would expect OldValue to contain the text of the cell I changed on Annual Budget worksheet (the text before I changed it). I want to find the old text in the Catagories worksheet so I can change it there also.
What am I doing wrong?
Any direction you can give me is appreciated.
John
Bookmarks