MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old May 9th, 2002, 06:31 PM   #1
lost_chord
New Member
 
Join Date: May 2002
Posts: 3
Default

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 ]
lost_chord is offline   Reply With Quote
Old May 9th, 2002, 06:46 PM   #2
Tom Schreiner
Board Regular
 
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
Default

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
Tom Schreiner is offline   Reply With Quote
Old May 9th, 2002, 07:30 PM   #3
lost_chord
New Member
 
Join Date: May 2002
Posts: 3
Default

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.
lost_chord is offline   Reply With Quote
Old May 9th, 2002, 07:35 PM   #4
James
Board Regular
 
Join Date: Feb 2002
Location: Huntington Beach, CA USA
Posts: 327
Default

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 ]
James is offline   Reply With Quote
Old May 9th, 2002, 07:40 PM   #5
mikeyboy
Board Regular
 
Join Date: Apr 2002
Posts: 57
Default

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 ]
mikeyboy is offline   Reply With Quote
Old May 9th, 2002, 07:46 PM   #6
lost_chord
New Member
 
Join Date: May 2002
Posts: 3
Default

Thank you, Tom, James and Mikey.

Problem solved.

LC


[ This Message was edited by: lost_chord on 2002-05-09 18:48 ]
lost_chord is offline   Reply With Quote
Old Jan 10th, 2003, 07:41 AM   #7
msohail
Board Regular
 
Join Date: Oct 2002
Posts: 120
Default

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??
msohail is offline   Reply With Quote
Old Jan 10th, 2003, 08:50 AM   #8
msohail
Board Regular
 
Join Date: Oct 2002
Posts: 120
Default

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??
msohail is offline   Reply With Quote
Old Jan 10th, 2003, 09:00 AM   #9
Jaafar Tribak
Board Regular
 
Jaafar Tribak's Avatar
 
Join Date: Dec 2002
Location: Larache--Morocco
Posts: 4,570
Default

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.
Jaafar Tribak is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On

Forum Jump


All times are GMT -4. The time now is 05:45 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes