![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 3
|
I am using Excel 2000 (9.0.3821 SR-1) on Win 2000 (5.0.2195 SP2 Bld2195).
If I have a spreadsheet for which I have defined macros then I get the Disable/Enable warning message when I open it. Fair enough. However, if I then delete all the macros and save the spreadsheet then when I open it I continue to get the Disable/Enable warning message. Why is it so and what can I do about it? Many thanks, LC [ This Message was edited by: lost_chord on 2002-05-09 18:46 ] |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Make sure you have removed all of your standard modules. Even if they are blank, you will get the security prompt. Macros are Public procedures. Make sure you do not have any Private procedures as well.
Tom |
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Posts: 3
|
Thanks Tom but I don't understand what you mean by "standard modules". I have deleted every macro in the workbook that I know about. When I look at Tools | Macro | Macros I get an empty listbox subtitled "Macros in: All Open Workbooks". I can select "Macros in: This Workbook" but of course that is also empty.
Where can I see these "standard modules" and how can I remove them please? Thanks, LC. |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Huntington Beach, CA USA
Posts: 327
|
What Tom wanted you to do was Alt-F11> Microsoft Excell Objects>Sheets>Forms and Modules delete all code AND even empty modules
James _________________ [ This Message was edited by: James on 2002-05-09 18:37 ] |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Apr 2002
Posts: 57
|
You need to go into visusal basic editor. Tools - Macro - visual basic editor and delete all the modules if any. The modules will be in the left pane window. Simply by existing these modules will produce the security message when opening excel.
While you are in the left pane double click on each sheet and "ThisWorkbook" and delete any code you find. [ This Message was edited by: mikeyboy on 2002-05-09 18:40 ] |
|
|
|
|
|
#6 |
|
New Member
Join Date: May 2002
Posts: 3
|
Thank you, Tom, James and Mikey.
Problem solved. LC [ This Message was edited by: lost_chord on 2002-05-09 18:48 ] |
|
|
|
|
|
#7 |
|
Board Regular
Join Date: Oct 2002
Posts: 120
|
Hi,
I have encountered the same problem as per this email, however when I've followed the solution i.e Tools_Macro_Visual basic Editor the page is totally blank!!!!! What else can I do to get totally rid of this annoying enable/disable message plz?? |
|
|
|
|
|
#8 |
|
Board Regular
Join Date: Oct 2002
Posts: 120
|
I am having the same problem as per this email below. I have tried Tools_Visual Basci .. but the page is totally blank and no hint of any macro code! Can I do anything else to get rid of the annoying enable/disable message??
|
|
|
|
|
|
#9 |
|
Board Regular
Join Date: Dec 2002
Location: Larache--Morocco
Posts: 4,570
|
Hi MsoHail,
TOOLS-->MACRO-->VISUAL BASIC EDITOR-->VIEW-->PROJECT EXPLORER. This should display all the VB projects. Expand the the little boxes on the left to locate the modules you want to remove. Jaafar. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|