BrianExcel
Well-known Member
- Joined
- Apr 21, 2010
- Messages
- 975
I set ranges using a button. All ranges are supposed to set for rows 1 - rows 191.
I'd like to program so that I can see the "refers to" section of a range in a message box. Does anyone know how I can do this?
If you are not familiar with the "refers to" property you can hit CTRL + F3 and it will give you the named ranges for your workbook. Within that, the "Refers to" column shows you which cells are contained within the range.
If I had named one of my ranges "rTestRange" how could I pull that info into a msgbox?
I tried msgbox rTestRange.refersto and rTestRange.value but nothing is working.
Thoughts?
I'd like to program so that I can see the "refers to" section of a range in a message box. Does anyone know how I can do this?
If you are not familiar with the "refers to" property you can hit CTRL + F3 and it will give you the named ranges for your workbook. Within that, the "Refers to" column shows you which cells are contained within the range.
If I had named one of my ranges "rTestRange" how could I pull that info into a msgbox?
I tried msgbox rTestRange.refersto and rTestRange.value but nothing is working.
Thoughts?