PC Review


Reply
Thread Tools Rate Thread

'Contains Macros' When it doesn't...

 
 
ChrisM
Guest
Posts: n/a
 
      7th Mar 2007
Hi,

I have a very simple spreadsheet. The only 'advanced' feature it has is a
small lookup table that is an external data reference to an Access Database
Table. This external reference is set to auto-update on sheet open.

Problem is, as part of a failed experiment, I created a macro, then a while
later deleted it again, however, even though the sheet now contains no
macros(according to Tools->Macro), everytime I open it I get the message
'This contains macros, Enable Macros/Disable Macros/More Info

Is this because of the auto-update on the external reference, or do I have
some sort of 'zombie' macro hidden somewhere that is triggering this
message?

Please help...

Thanks!

--
Regards,
Chris.
(Remove Elvis's shoes to email me)


 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      7th Mar 2007
After deleting the macro you created you must also delete the empty Module that
housed it.

Alt + F11 to open VBEditor, CTRL + r to open Project Explorer.

Click on your workbook/project and expand.

Right-click on Module1 or whatever name is given and Remove. Click No to "do
you want to export?"

Save the workbook.


Gord Dibben MS Excel MVP

On Wed, 7 Mar 2007 16:40:32 -0000, "ChrisM" <(E-Mail Removed)>
wrote:

> Hi,
>
>I have a very simple spreadsheet. The only 'advanced' feature it has is a
>small lookup table that is an external data reference to an Access Database
>Table. This external reference is set to auto-update on sheet open.
>
>Problem is, as part of a failed experiment, I created a macro, then a while
>later deleted it again, however, even though the sheet now contains no
>macros(according to Tools->Macro), everytime I open it I get the message
>'This contains macros, Enable Macros/Disable Macros/More Info
>
>Is this because of the auto-update on the external reference, or do I have
>some sort of 'zombie' macro hidden somewhere that is triggering this
>message?
>
>Please help...
>
>Thanks!


 
Reply With Quote
 
ChrisM
Guest
Posts: n/a
 
      7th Mar 2007


Thank you, that worked perfectly.

Shame it doesn't automatically delete the empty module for you, or at least
give the option when it becomes empty...

Thanks again,

Chris.

In message (E-Mail Removed),
Gord Dibben <gorddibbATshawDOTca> Proclaimed from the tallest tower:

> After deleting the macro you created you must also delete the empty
> Module that housed it.
>
> Alt + F11 to open VBEditor, CTRL + r to open Project Explorer.
>
> Click on your workbook/project and expand.
>
> Right-click on Module1 or whatever name is given and Remove. Click
> No to "do you want to export?"
>
> Save the workbook.
>
>
> Gord Dibben MS Excel MVP
>
> On Wed, 7 Mar 2007 16:40:32 -0000, "ChrisM"
> <(E-Mail Removed)> wrote:
>
>> Hi,
>>
>> I have a very simple spreadsheet. The only 'advanced' feature it has
>> is a small lookup table that is an external data reference to an
>> Access Database Table. This external reference is set to auto-update
>> on sheet open.
>>
>> Problem is, as part of a failed experiment, I created a macro, then
>> a while later deleted it again, however, even though the sheet now
>> contains no macros(according to Tools->Macro), everytime I open it I
>> get the message 'This contains macros, Enable Macros/Disable
>> Macros/More Info
>>
>> Is this because of the auto-update on the external reference, or do
>> I have some sort of 'zombie' macro hidden somewhere that is
>> triggering this message?
>>
>> Please help...
>>
>> Thanks!



--
Regards,
Chris.
(Remove Elvis's shoes to email me)


 
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
Macros doesn't saves Ravi Microsoft Word Document Management 2 26th Oct 2009 03:38 PM
2007 doesn't see old macros Paul Microsoft Word New Users 2 4th Nov 2008 03:06 AM
2 macros work, 1 doesn't =?Utf-8?B?R2luYQ==?= Microsoft Word Document Management 1 18th May 2006 09:03 PM
Download from web w/ macros - Excel Doesn't Open Sometimes? matt@mattkruse.com Microsoft Excel Discussion 0 14th Sep 2005 04:00 PM
Why after 98 to XP upgrade doesn't Access macros work? =?Utf-8?B?Y2p3?= Microsoft Access Macros 0 29th Nov 2004 03:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:13 PM.