Hi all;
Are Defined Names attached to the workbook only available to macros when the Active sheet is the one in the Refers To?
I have a Defined Name attached to the workbook (not to a sheet).
Name : Strengths
Refers To : =Data!$P$1
When I'm in VBE with no macro running and active sheet is not Data I type ? Range("Strengths").Address in the immediate window and it correctly prints $P$1.
Now I put a break in Worksheet_Change for every sheet. When it breaks I type ? Range("Strengths").Address in the immediate window, I get error 1004. Except in Data!Worksheet_Change. Then it correctly prints $P$1.
How can I make a Defined Name attached to the workbook available to all macros?
Bookmarks