#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gevans
 
Posts: n/a
Default ghost macro

I have a very large spreadsheet that gets copied every month as a new
template. Somewhere along the line it has aquired a "ghost" macro. It
causes the "macro alert" warning to come up everytime the spreadsheet is
opened. Under the menu item for macros, there are none listed for this
spreadsheet. There are no links to outside sheets. How do I find and delete
the ghost macros?
--
gevans
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default ghost macro

Debra Dalgleish shows how to clean up all the remnants of macros:
http://www.contextures.com/xlfaqMac.html#NoMacros

gevans wrote:

I have a very large spreadsheet that gets copied every month as a new
template. Somewhere along the line it has aquired a "ghost" macro. It
causes the "macro alert" warning to come up everytime the spreadsheet is
opened. Under the menu item for macros, there are none listed for this
spreadsheet. There are no links to outside sheets. How do I find and delete
the ghost macros?
--
gevans


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DaveO
 
Posts: n/a
Default ghost macro

Hit Alt+F11 and this will open the VBE.

Now all you need to do it go through all of the worksheets and the
'ThisWorkbook' you have to see if there are any events.

If not check to see if there are any modules in the sheet.

If not, my only advise would be to see if you have a macro in the sheet
which you are opening when you simply open excel.

HTH.

"gevans" wrote:

I have a very large spreadsheet that gets copied every month as a new
template. Somewhere along the line it has aquired a "ghost" macro. It
causes the "macro alert" warning to come up everytime the spreadsheet is
opened. Under the menu item for macros, there are none listed for this
spreadsheet. There are no links to outside sheets. How do I find and delete
the ghost macros?
--
gevans

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gevans
 
Posts: n/a
Default ghost macro

I opened VBE. I'm not sure I know where to look for "events" or "modules", I
am not familiar with the VBE function.
It is possible that a macro opens with Excel, but this is the only
spreadsheet that gives me the warning, so I'm thinking the problem is limited
to this spreadsheet.
--
gevans


"DaveO" wrote:

Hit Alt+F11 and this will open the VBE.

Now all you need to do it go through all of the worksheets and the
'ThisWorkbook' you have to see if there are any events.

If not check to see if there are any modules in the sheet.

If not, my only advise would be to see if you have a macro in the sheet
which you are opening when you simply open excel.

HTH.

"gevans" wrote:

I have a very large spreadsheet that gets copied every month as a new
template. Somewhere along the line it has aquired a "ghost" macro. It
causes the "macro alert" warning to come up everytime the spreadsheet is
opened. Under the menu item for macros, there are none listed for this
spreadsheet. There are no links to outside sheets. How do I find and delete
the ghost macros?
--
gevans

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gevans
 
Posts: n/a
Default ghost macro

Thank you Dave! Just what I needed!!! Deleting the module 1 and module 2
files did the trick. We have put up with this annoying function for 2 years.
Bossman will be happy!
--
gevans


"Dave Peterson" wrote:

Debra Dalgleish shows how to clean up all the remnants of macros:
http://www.contextures.com/xlfaqMac.html#NoMacros

gevans wrote:

I have a very large spreadsheet that gets copied every month as a new
template. Somewhere along the line it has aquired a "ghost" macro. It
causes the "macro alert" warning to come up everytime the spreadsheet is
opened. Under the menu item for macros, there are none listed for this
spreadsheet. There are no links to outside sheets. How do I find and delete
the ghost macros?
--
gevans


--

Dave Peterson

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
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
I seem to have a ghost macro. SongCoyote Excel Discussion (Misc queries) 1 September 13th 05 01:04 AM
macro with F9 Kenny Excel Discussion (Misc queries) 1 August 3rd 05 02:41 PM
Make Alignment options under format cells available as shortcut dforrest Excel Discussion (Misc queries) 1 July 14th 05 10:58 PM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM


All times are GMT +1. The time now is 04:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"