Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Disable an Autostart module

Hi,

Is it possible to disable/delete an Autostart module with code ?
If this is possible, could you please help me some code.

Thanks

Tempy

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default Disable an Autostart module

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.
--
http://HelpExcel.com
1-888-INGENIO
1-888-464-3646
x0197758


"Tempy" wrote:

Hi,

Is it possible to disable/delete an Autostart module with code ?
If this is possible, could you please help me some code.

Thanks

Tempy

*** Sent via Developersdex http://www.developersdex.com ***

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Disable an Autostart module

This will delete a module

Dim vbMod As Object


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


--
HTH

Bob Phillips

"Tempy" wrote in message
...
Hi,

Is it possible to disable/delete an Autostart module with code ?
If this is possible, could you please help me some code.

Thanks

Tempy

*** Sent via Developersdex http://www.developersdex.com ***



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
Autostart Macro McCloudK Excel Discussion (Misc queries) 5 November 22nd 07 09:38 PM
Autostart Alias Excel Discussion (Misc queries) 2 December 8th 05 02:43 AM
Delete an autostart Sub with code Tempy Excel Programming 6 June 14th 04 08:20 PM
Autostart syale Excel Programming 1 January 29th 04 02:07 AM
Variable from a sheet module in a class module in XL XP hglamy[_2_] Excel Programming 2 October 14th 03 05:48 PM


All times are GMT +1. The time now is 10:41 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"