Disable an Autostart module

G

galimi

I believe you can hold the left SHIFT key down whilst loading Excel to avoid
loading any auto_open macro's. You can then disable the macro's from the
Tools, Add-Ins menu.
 
B

Bob Phillips

This will delete a module

Dim vbMod As Object


Set vbMod = ThisWorkbook.VBProject.vbcomponents("Module2")
ThisWorkbook.VBProject.vbcomponents.Remove vbMod
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

How to disable Alt+s in Outlook 365 0
associative arrays 2
Chart events 4
Create a folder from excel 7
Hide tool bar 4
Change desktop icon 3
Use the Option box value in a module 2
Personal.xls 8

Top