Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
tcsigecan
 
Posts: n/a
Default How to delete a macro that has been assigned to run when workshee.

There are macros that have been programmed into a worksheet that I copied.
These macros are assigned to start-up when I open the worksheet. I then
received a warning message that the macro cannot find the file that it has
been assigned to access at start-up. I do not need the macro and would like
to delete it, however, when I click on the macro it tells me the the
reference is invalid. The delete key for this macor is not highlighted which
prevents me from deleting it from my worksheet.

Any help would be sincerely appreciated.
  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Go into the VBE, and look in the codemodule of the ThisWorkbook object, and
also look in any sheet modules as well. If an event was used, you can't get
to it through the usual Macro edit technique.

HTH,
Bernie
MS Excel MVP

"tcsigecan" wrote in message
...
There are macros that have been programmed into a worksheet that I copied.
These macros are assigned to start-up when I open the worksheet. I then
received a warning message that the macro cannot find the file that it has
been assigned to access at start-up. I do not need the macro and would
like
to delete it, however, when I click on the macro it tells me the the
reference is invalid. The delete key for this macor is not highlighted
which
prevents me from deleting it from my worksheet.

Any help would be sincerely appreciated.



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
delete row contains specific word in an macro Jean-Francois Excel Discussion (Misc queries) 4 January 11th 05 11:40 PM
Macro to delete a macro Spanky Excel Worksheet Functions 1 December 16th 04 02:43 AM
How to delete a Macro from within another Macro Bony Pony Excel Worksheet Functions 2 December 15th 04 08:30 AM
Macro to find and delete all FALSE statements Woody13 Excel Discussion (Misc queries) 3 December 8th 04 11:16 PM
copy macro assigned buttons in an array Phatboy_D Excel Worksheet Functions 1 December 1st 04 10:01 PM


All times are GMT +1. The time now is 07:18 PM.

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"