PC Review


Reply
Thread Tools Rate Thread

Delete macro that is not in a module

 
 
theyogilady@gmail.com
Guest
Posts: n/a
 
      20th Sep 2007
My personal macro workbook has several ancient macros that were
converted from Lotus 1-2-3 about 10 years ago. They show up in the
workbook as worksheets with the macro code on them. They are not in
any of the modules shown in Visual Basic Editor and there are no empty
modules. I can delete the worksheet, but the macro name remains in the
list when I want to run a macro. I can click on the name in the list
of macros, but then the Delete button greys out (both when the macro
page still exists and when it has been deleted). Closing Excel and
restarting does not remove them from the list, nor does rebooting. How
do I delete these macros? (Also, if I delete all of those worksheets
with the Lotus macros, will anything happen to my Personal Macro
Workbook with all of its "pages" gone?)

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      20th Sep 2007
Just a guess...

If you use Insert|Name|Define, do you see the name of the macro there?

If yes, can you delete it?



(E-Mail Removed) wrote:
>
> My personal macro workbook has several ancient macros that were
> converted from Lotus 1-2-3 about 10 years ago. They show up in the
> workbook as worksheets with the macro code on them. They are not in
> any of the modules shown in Visual Basic Editor and there are no empty
> modules. I can delete the worksheet, but the macro name remains in the
> list when I want to run a macro. I can click on the name in the list
> of macros, but then the Delete button greys out (both when the macro
> page still exists and when it has been deleted). Closing Excel and
> restarting does not remove them from the list, nor does rebooting. How
> do I delete these macros? (Also, if I delete all of those worksheets
> with the Lotus macros, will anything happen to my Personal Macro
> Workbook with all of its "pages" gone?)


--

Dave Peterson
 
Reply With Quote
 
theyogilady@gmail.com
Guest
Posts: n/a
 
      20th Sep 2007
No, the macro isn't there. In fact, most of the macros aren't there
(but there ARE some that I managed somehow to delete a couple of years
ago, still listed....go figure!)

Forgot to mention I'm using Excel 2003

On Sep 20, 3:44 pm, Dave Peterson <peter...@verizonXSPAM.net> wrote:
> Just a guess...
>
> If you use Insert|Name|Define, do you see the name of the macro there?
>
> If yes, can you delete it?
>
>
> Dave Peterson



 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      20th Sep 2007
Maybe you can remove the proprietary information from the workbook, zip it and
send me a private email.

Remove XSPAM from my email address.

Please don't send the workbook to the newsgroup and don't include my email
address in your response.

(E-Mail Removed) wrote:
>
> No, the macro isn't there. In fact, most of the macros aren't there
> (but there ARE some that I managed somehow to delete a couple of years
> ago, still listed....go figure!)
>
> Forgot to mention I'm using Excel 2003
>
> On Sep 20, 3:44 pm, Dave Peterson <peter...@verizonXSPAM.net> wrote:
> > Just a guess...
> >
> > If you use Insert|Name|Define, do you see the name of the macro there?
> >
> > If yes, can you delete it?
> >
> >
> > Dave Peterson


--

Dave Peterson
 
Reply With Quote
 
theyogilady@gmail.com
Guest
Posts: n/a
 
      21st Sep 2007
> > > If you use Insert|Name|Define, do you see the name of the macro there? < < <

While I was fixing it up to send to you, I discovered that if I
DISABLED the macros when I opened the workbook (rather defeats the
purpose of a macro workbook, huh?) then Insert|Name|Define would show
the names I wanted to delete. Oddly enough, it showed ONLY the names I
wanted to delete.

It's all fixed now. Thanks for your help!

kate

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      21st Sep 2007
Sometimes being lucky is better than being good!

Glad you got it fixed.

(E-Mail Removed) wrote:
>
> > > > If you use Insert|Name|Define, do you see the name of the macro there? < < <

>
> While I was fixing it up to send to you, I discovered that if I
> DISABLED the macros when I opened the workbook (rather defeats the
> purpose of a macro workbook, huh?) then Insert|Name|Define would show
> the names I wanted to delete. Oddly enough, it showed ONLY the names I
> wanted to delete.
>
> It's all fixed now. Thanks for your help!
>
> kate


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to call a public module macro in private module macro emmanuel Webmaster / Programming 1 13th May 2011 06:34 PM
code to delete module / macro in another file Ray Clark Microsoft Excel Misc 1 3rd Jul 2008 04:15 AM
Re: Macro to delete sheets and saves remaining file does not properly delete module gazornenplat Microsoft Excel Programming 0 22nd Jun 2005 01:12 AM
Macro to delete sheets and saves remaining file does not properly delete module pherrero Microsoft Excel Programming 7 21st Jun 2005 05:16 PM
Delete Module Macro Omar Samy Microsoft Excel Programming 1 23rd Nov 2004 04:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:43 PM.