Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to assign Named Ranges as follows:
Sub Macro2() Range("A1").Select ActiveWorkbook.Names.Add Name:="a", RefersToR1C1:="=Sheet2!R1C1" Range("B1").Select ActiveWorkbook.Names.Add Name:="b", RefersToR1C1:="=Sheet2!R1C2" Range("C1").Select ActiveWorkbook.Names.Add Name:="c", RefersToR1C1:="=Sheet2!R1C3" End Sub The last line of code raises a 1004 That name is not valid. Why? -- Gary''s Student |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to do - B2 is only valid if B1 is zero | Excel Discussion (Misc queries) | |||
'reference is not valid' | Excel Discussion (Misc queries) | |||
Reference is not valid | Excel Worksheet Functions | |||
Not a valid add-in file??? | Excel Programming | |||
Not A Valid Add-In | Excel Programming |