I have a number of cells named on a worksheet, and I want to run code that is variable based on the cell's name. Is there a way to determine what the cell's assigned name is? I already know how to define a cell's name, but I can't figure out how to read what it is.
I'm looking for something like this:
Basically I want the macro to recognize where it is on a sheet, and then check the surrounding cells based on the name of the cell.
I'm looking for something like this:
Code:
box = Cells(rw, cl).Name
Basically I want the macro to recognize where it is on a sheet, and then check the surrounding cells based on the name of the cell.