Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro warning but no macros

I have a spreadsheet that has no macros, names or modules. It previously
opened without giving the macro warning message. After playing around with
some of the tools on the Forms toolbar, I now get the macro warning. I've
deleted all the tools (check boxes and radio buttons) and deleted the range
where I placed these tools, but still can't remove the macro warning. Any
suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default Macro warning but no macros

Go into the Visual Basic Editor and check each worksheet in the project.
If there is anything in any module more than "Option Explicit", then
this is why your macro warnings are being triggered. If you really
don't need the code (you created it by accident when playing with a
button), then delete the code.

In addition, you need to make sure there are no standard or class
modules in the project if you want to avoid macro security warnings.

HTH,

Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca

Peter Chandler wrote:
I have a spreadsheet that has no macros, names or modules. It previously
opened without giving the macro warning message. After playing around with
some of the tools on the Forms toolbar, I now get the macro warning. I've
deleted all the tools (check boxes and radio buttons) and deleted the range
where I placed these tools, but still can't remove the macro warning. Any
suggestions?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro warning but no macros

go into the VBE (alt+F11), then go into each sheet module (use the project
explorer window). For each sheet module, Click in the sheet module and do
Ctrl+A, then delete. Then click in the little x in the upper left corner
to close the module.

Do this for the thisworkbook module as well.

Delete any regular or standard modules you have, including any blank ones.
Right click, choose delete

Save the workbook. Close and open it.

--
Regards,
Tom Ogilvy


"Peter Chandler" wrote in message
...
I have a spreadsheet that has no macros, names or modules. It previously
opened without giving the macro warning message. After playing around
with
some of the tools on the Forms toolbar, I now get the macro warning. I've
deleted all the tools (check boxes and radio buttons) and deleted the
range
where I placed these tools, but still can't remove the macro warning. Any
suggestions?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro warning but no macros

Thanks Ken

There was one sheet with a blank Sub. Deleted this and the annoyance has
gone.

Cheers
Peter

"Ken Puls" wrote:

Go into the Visual Basic Editor and check each worksheet in the project.
If there is anything in any module more than "Option Explicit", then
this is why your macro warnings are being triggered. If you really
don't need the code (you created it by accident when playing with a
button), then delete the code.

In addition, you need to make sure there are no standard or class
modules in the project if you want to avoid macro security warnings.

HTH,

Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca

Peter Chandler wrote:
I have a spreadsheet that has no macros, names or modules. It previously
opened without giving the macro warning message. After playing around with
some of the tools on the Forms toolbar, I now get the macro warning. I've
deleted all the tools (check boxes and radio buttons) and deleted the range
where I placed these tools, but still can't remove the macro warning. Any
suggestions?


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 warning...but no macros! slfarns Excel Programming 4 February 1st 06 04:22 AM
macro warning - but no macros GJR3599 Excel Discussion (Misc queries) 1 April 13th 05 08:15 PM
Still Macro Warning w/o Macros ... Joe HM Excel Programming 2 March 30th 05 05:01 PM
Macro Warning in File w/o Macros? Joe HM Excel Programming 4 March 29th 05 08:38 PM
Macro warning when no macros Allison Excel Programming 8 October 22nd 04 11:26 PM


All times are GMT +1. The time now is 12:31 AM.

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"