
Originally Posted by
BigBas
If you want to return a Range as a variable, you have to use the set command. There may be better ways to do this, but it is difficult to give you an answer without seeing your code and knowing what you ultimately want to do.
The Address function returns the address of the given numbers. Example: Address(2,2) returns $B$2
I simply want to do this in a macro. I want to feed a variable the address of 2 coordinates and have it store that value.
If the cell $B$2 contains the value 8, I would expect the value of 8 to now be in cell A2. Does that help?
Bookmarks