Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
syntax to go to a named range
Hi all,
I record a macro in Excel to go to a particular name name. It produced something like this: Application.Goto Reference:="MyNameRange" Do you know of a shorter syntax? It just seems to be a long line, since I have many name ranges. Thanks. Ben -- |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
syntax to go to a named range
Ben,
I don't think there is a shorter one. In excel you can select the different named ranges by pressing F5 or by using the dropdown above cel A1. grtx's Martijn "Ben" schreef in bericht ... Hi all, I record a macro in Excel to go to a particular name name. It produced something like this: Application.Goto Reference:="MyNameRange" Do you know of a shorter syntax? It just seems to be a long line, since I have many name ranges. Thanks. Ben -- |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
syntax to go to a named range
Hi Ben,
If the named range is on the active sheet, try: Range("MyNameRange").select --- Regards, Norman "Ben" wrote in message ... Hi all, I record a macro in Excel to go to a particular name name. It produced something like this: Application.Goto Reference:="MyNameRange" Do you know of a shorter syntax? It just seems to be a long line, since I have many name ranges. Thanks. Ben -- |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
syntax to go to a named range
Thanks guys. Works.
Ben -- "Ben" wrote: Hi all, I record a macro in Excel to go to a particular name name. It produced something like this: Application.Goto Reference:="MyNameRange" Do you know of a shorter syntax? It just seems to be a long line, since I have many name ranges. Thanks. Ben -- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
syntax to concatenate two named ranges? | Excel Discussion (Misc queries) | |||
Array as a "named range" - formula ok in cells, but error as "named range" | Excel Discussion (Misc queries) | |||
inserting a named range into new cells based on a named cell | Excel Discussion (Misc queries) | |||
If any cell in named range = 8 then shade named range | Excel Programming | |||
Help to adapt Formula syntax to work with Dynamic Named Ranges | Excel Worksheet Functions |