Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using the following code in a macro to set up a named range on a
worksheet for use by other macros. I create the named range with the following code: ThisWorkbook.Names.Add Name:="Table1", RefersTo:=NewSheetName & "!$B$9:$H$500" The new named range appears fine in the Developer Name Manager list, but does not appear in the Name Box drop down list and I code such as i = Range("_PAI_Table_bbb").Rows.Count that uses Table1 errors w/ a 1004 range of object _Global failed. Somehow I'm either not creating the range properly and/or I'm not referencing it correctly. I appreciate your help, -John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Accessing a sheet-level named range through ADO | Excel Programming | |||
Accessing data stored in the worksheet (named range) in .xla file | Excel Programming | |||
accessing named range | Excel Programming | |||
New Named Range Created Each Time Data Imported into Excel via Macro | Excel Programming | |||
Accessing Named Ranges | Excel Programming |