P
Paul
I tried to write code that when a certain value is found
in a cell, that cell gets a range name VALUE1 that I can
return to later via: Range("VALUE1").Select. The next time
such a cell is found, VALUE1 is deleted from the name list
and re-applied to the new cell. This would enable me to
dynamically mark certain locations.
As a test, I wrote this:
Names.Add Name:="XXAA", RefersTo:="=Sheet1!A1"
Range("XXAA").Select
This doesn't work. Line 2 crashes.
Any insights appreciated
Paul
in a cell, that cell gets a range name VALUE1 that I can
return to later via: Range("VALUE1").Select. The next time
such a cell is found, VALUE1 is deleted from the name list
and re-applied to the new cell. This would enable me to
dynamically mark certain locations.
As a test, I wrote this:
Names.Add Name:="XXAA", RefersTo:="=Sheet1!A1"
Range("XXAA").Select
This doesn't work. Line 2 crashes.
Any insights appreciated
Paul