ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Can't Find Macros (https://www.excelbanter.com/excel-discussion-misc-queries/59000-cant-find-macros.html)

DaniBee

Can't Find Macros
 
I have been messing around with check boxes and Visual Basic in my Control
Toolbox. Somehow I've managed to imbed a macros in my workbook and am
getting the warning message each time the file is opened. I can't seem to
find the macros to delete it. I have 29 worksheets, so it's not an easy
task. When I open my macros, there shows none. How can I find this and
delete it?

Gord Dibben

Can't Find Macros
 
ALT + F11 to get to the Visual Basic Editor.

Check for empty modules in your workbook.

These, even though empty, must be removed.

Check for Forms and delete.

Also have a look through the sheets and Thisworkbook for code.

Delete any lines that may be present.

More on this at Debra Dalgeish's site.

http://www.contextures.on.ca/xlfaqMac.html#NoMacros


Gord Dibben Excel MVP

On Tue, 6 Dec 2005 11:02:02 -0800, "DaniBee"
wrote:

I have been messing around with check boxes and Visual Basic in my Control
Toolbox. Somehow I've managed to imbed a macros in my workbook and am
getting the warning message each time the file is opened. I can't seem to
find the macros to delete it. I have 29 worksheets, so it's not an easy
task. When I open my macros, there shows none. How can I find this and
delete it?



All times are GMT +1. The time now is 09:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com