most
Board Regular
- Joined
- Feb 22, 2011
- Messages
- 106
- Office Version
- 365
- 2019
- Platform
- Windows
- Mobile
I would to get a cell address from a named range which contains the address in text format. Searched but only get none related hits, any suggestion how I could solve this?
Why? I want to make a sheet with "parameters" with reference to correct cells needed for my code, so if the layout change I only need to change the parameter sheet.
Excel Formula:
Sheet ONE cell A1 = "Sheets("TWO").Range("B2")"
Sheet TWO cell B2 = 1000
ANamedRange =ONE!$A$1 (Name manager)
VBA Code:
debug.print ANamedRange.value
Expected result: 1000
Why? I want to make a sheet with "parameters" with reference to correct cells needed for my code, so if the layout change I only need to change the parameter sheet.