Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If I try to give a range the same name as one of my macros from the name box
(at the top left of the workbook) I find I'm suddenly looking at that macro with my cursor flashing in the VB editor. Is there any way to stop this or at least capture it as it will confuse users? Strangely I don't get the same problem if naming from Insert, Name, Define. Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I don't think you can avoid that. When you type into the names box on the
input bar it does the something like this If a Defined name or Macro name exists then Application.Goto ("the-Typed-or-Selected-Name-of-a-Name-or-Procedure") Else: define a range name or name a selected object Best avoid duplicate Procedure and & Defined names Regards, Peter T "Martin" wrote in message ... If I try to give a range the same name as one of my macros from the name box (at the top left of the workbook) I find I'm suddenly looking at that macro with my cursor flashing in the VB editor. Is there any way to stop this or at least capture it as it will confuse users? Strangely I don't get the same problem if naming from Insert, Name, Define. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Naming a range during macro execution | Excel Discussion (Misc queries) | |||
Macro moves data and more!!! | Excel Programming | |||
range moves with application caller | Excel Discussion (Misc queries) | |||
Macro problems with range and naming issues | Excel Programming | |||
Macro That Moves Cursor Down | Excel Programming |