Home |
Search |
Today's Posts |
#2
![]() |
|||
|
|||
![]()
Open the Define Name dialog (Ctrl-F3 is the shortcut) and make sure the name
TestNamedRange appears and that it refers to a cell. -- Jim wrote in message oups.com... |I have a macro that consists of these 3 lines: | Sub Macro2() | ActiveSheet.PageSetup.RightHeader = Range("TestNamedRange") | End Sub | | It's meant to include the value of a textual named range in a header. | This macro generates | Runtime error 1004 | Method 'range' of object '_global' failed | | What causes this error? I have tried different variations of | declarations, searching this forum, and traded posts with Bob Phillips | (no aspersions intended-I think the thread just faded) to no avail. | Any ideas? | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Runtime error | Excel Discussion (Misc queries) | |||
runtime error '6' overflow | Setting up and Configuration of Excel | |||
Runtime Error 9 | Excel Discussion (Misc queries) | |||
Excel help giving runtime error | Excel Discussion (Misc queries) | |||
Why do I get the runtime error message430 when I start my compute. | Setting up and Configuration of Excel |