Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
KR
 
Posts: n/a
Default The available macros list in XL; how to suppress filename from showing

Ok, this may be the dumbest question I've ever asked here :-/

Using XL2003 on Win2000

Usually I run everything from code or from command buttons. For this
particular project, I'm just leaving the code accessable via the macro list,
only exposing the macros I select (the rest are tagged private).

The first two macros show up in the macro list [tools/macros/macros] with
just the macro name, e.g. <TransferData.
But the most recent macro I made shows up with the entire filename, e.g.
<'My File Name.xls'!BackupData.

When I compare the macros, I can't distinguish any critical difference- they
are all in modules, all just start with sub, etc.

What causes the filename to show (or not show)? I even saved and closed the
file, to see if re-opening it would reset it to only show the macro name,
but that didn't work either.

I did notice that from within the VBE if I do tools/macros, it shows all
three macros without the filename.

Thanks,
Keith

--
The enclosed questions or comments are entirely mine and don't represent the
thoughts, views, or policy of my employer. Any errors or omissions are my
own.


  #2   Report Post  
KR
 
Posts: n/a
Default

For what it's worth, I finally figured out what was happening- apparently if
the module name and the sub name are the same, XL feels the need to include
the whole path. I modified the name of my module slightly, and now I just
have the macro name in all cases.

The first two macros show up in the macro list [tools/macros/macros] with
just the macro name, e.g. <TransferData.
But the most recent macro I made shows up with the entire filename, e.g.
<'My File Name.xls'!BackupData.



Keith


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
Extracting Values on one list and not another B Schwarz Excel Discussion (Misc queries) 4 January 7th 05 01:48 PM
How do I find out what items are in one list but not in another l. Michelle Craig Excel Discussion (Misc queries) 2 December 22nd 04 08:32 PM
Macros disappear after a file is imported Brent E Excel Discussion (Misc queries) 1 December 18th 04 12:25 AM
Counting Repeated text or duplicates in a list Repeatdude Excel Discussion (Misc queries) 5 November 26th 04 07:10 PM


All times are GMT +1. The time now is 09:14 PM.

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

About Us

"It's about Microsoft Excel"