×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Macro Name

Macro Name

Macro Name

(OP)
When I go to to tools macros, some of my macros are listed by macro_name only and others are 'filename'!macro_name.macro_name. How do I get them to be listed by macro_name only?
Replies continue below

Recommended for you

RE: Macro Name

There really isn't a way to set it to show just the macro names due to the fact that you may have macros that are named the same in different workbooks.  

RE: Macro Name

(OP)
The macros reside in the only workbook they were ever in and the names are different than any other workbook I have open. Here's what tools, macro has (Macros in 'This workbook'):

ControlApp
'Data Collection.xls'!DelDup.DelDup
'Data Collection.xls'!Match.Match
Start1
Start2

These macros are all in the same workbook. I don't know why the macro name is repeated either.  

When I choose 'all open workbooks' I see the ones in 'Personal.xls' and they look like:

'PERSONAL.XLS'!Remove

The macro name isn't repeated.




RE: Macro Name

I have seen this before, and it is some "feature" in the bookkeeping of Excel. I haven't found an easy way to get rid of  it. The behaviour should only occur, like asmenut said, when you have two macros with the same name. One thing you can try is to copy the code of the macro, for example your DelDup macro, paste it, and change the name of the new sub, for example to DeleteDup. Then see if this shows up properly, and if it does, delete the DelDup original.
Good luck.

Cheers,
Joerd

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

RE: Macro Name

(OP)
Hey Thanks.

You did give me a easy way to get rid of it.  I'll just create new modules and block copy the code there.  It's not as easy as editing the name but it will do and isn't a major hassle.

I thank you and so does the poor sap who will have to take over my stuff after I leave.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close