LeighG
New Member
- Joined
- Feb 13, 2021
- Messages
- 13
- Office Version
- 365
- Platform
- MacOS
Hi,
Office 365 / Mac OS
I have the following code which works perfectly. However I'd like to combine the Sheet Name (from the current workbook) in combination with the Named Range. I can't seem to get the syntax right.
Thanks!
Office 365 / Mac OS
I have the following code which works perfectly. However I'd like to combine the Sheet Name (from the current workbook) in combination with the Named Range. I can't seem to get the syntax right.
VBA Code:
Cells(1, 1).Value = ThisWorkbook.Names("Balance").RefersToRange(1, 1)
Thanks!