M
matts2
I am programatically creating a workbook. I copy some worksheets over
and need to give a name to a range of cells so another sheet can
reference them. I used this code:
Names.Add Name:=RangeName, RefersTo:=ReferString, Visible:=True
The name appears just find in the sheet named, but the other sheets
don't seem to know about the named range. The cells show the #REF!
error and the name box is empty. I tried "Thisworkbook.Names", but got
the same result. How can I make the names visable to the other
worksheets?
TIA.
and need to give a name to a range of cells so another sheet can
reference them. I used this code:
Names.Add Name:=RangeName, RefersTo:=ReferString, Visible:=True
The name appears just find in the sheet named, but the other sheets
don't seem to know about the named range. The cells show the #REF!
error and the name box is empty. I tried "Thisworkbook.Names", but got
the same result. How can I make the names visable to the other
worksheets?
TIA.