just wondering if someone could explain (and please correct me if I am misunderstanding) how Excel is behaving...
I have named ranges: [Issues_Alert] and [Total_Issues_Opened]
...why can I set up a string : "There are " & [Total_Issues_Opened] & " issues open"
...but I cannot use the same shorthand to set the other named range to that value- the following gets me an Object is needed error:
[Issues_Alert] = "There are " & [Total_Issues_Opened] & " issues open"
macro recording seems to show that I need to go through the Application.Names object to get to the Issues_Alert name to set the value...more wordy and I feel like I dont understand when I can use the shorthand and when I cant.
I can move forward with this coding using application.names-
ActiveWorkbook.names("Issues_Alert").RefersTo = "Text string"
but any tips would be appreciated -thanks!
I have named ranges: [Issues_Alert] and [Total_Issues_Opened]
...why can I set up a string : "There are " & [Total_Issues_Opened] & " issues open"
...but I cannot use the same shorthand to set the other named range to that value- the following gets me an Object is needed error:
[Issues_Alert] = "There are " & [Total_Issues_Opened] & " issues open"
macro recording seems to show that I need to go through the Application.Names object to get to the Issues_Alert name to set the value...more wordy and I feel like I dont understand when I can use the shorthand and when I cant.
I can move forward with this coding using application.names-
ActiveWorkbook.names("Issues_Alert").RefersTo = "Text string"
but any tips would be appreciated -thanks!