Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Change Macro names

I've been searching for a while for a way to control how the macro name
appears in the macro selection window. I understand that it must show
the name of the workbook it is associated to when there are multiple
open, but when there is only one, what can I do to JUST get the names
of the Subs in the selection box? What controls whether or not the
name of the module appears as a prefix for the macro?

For example, instead of this:
-----------------------
Book1.xls!Module1.Macro1
Book1.xls!Macro2
Macro3


I want this:
-----------------------
Macro1
Macro2
Macro3

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Change Macro names

Hi Robb,

The module prefix is shown if Excel needs to distinguish between identically
named macros in different modules.


---
Regards,
Norman



wrote in message
ups.com...
I've been searching for a while for a way to control how the macro name
appears in the macro selection window. I understand that it must show
the name of the workbook it is associated to when there are multiple
open, but when there is only one, what can I do to JUST get the names
of the Subs in the selection box? What controls whether or not the
name of the module appears as a prefix for the macro?

For example, instead of this:
-----------------------
Book1.xls!Module1.Macro1
Book1.xls!Macro2
Macro3


I want this:
-----------------------
Macro1
Macro2
Macro3



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro recorded... tabs & file names changed, macro hangs Steve Excel Worksheet Functions 3 October 30th 09 11:41 AM
How do you change the column names e.g. A B C D E F dan Excel Discussion (Misc queries) 1 January 19th 06 08:58 PM
macro to change numbers to names WAB Excel Worksheet Functions 3 April 16th 05 02:14 PM
macro to change the names and delete closed books Tim Excel Discussion (Misc queries) 2 February 6th 05 09:39 PM
Change names of files in a folder to match names in Excel Column saybut Excel Programming 4 February 9th 04 06:26 PM


All times are GMT +1. The time now is 04:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"