Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default disabling automatic startup of macro in vba

I found the answer to my own question, after some more research (found a
related discussion on mrexcel.com). The workbook_open is not disabled by
holding the shift key while starting Excel. However, the auto_open is
disabled. So all have to do is put my startup logic in an auto_open macro
(which goes in a regular module, not under ThisWorkbook)), and then I can run
or not run by holding down shift or not holding down shift. Hope this helps
anyone else who has a similar need.
--
future_vba_expert


"future_vba_expert" wrote:

The MSDN site says that you can kill the auto start up of a macro if you hold
down the shift key while starting up the excel spreadsheet. I found that this
did not work for me. I have the macro under 'workbook_open', which I think
would apply. I sometimes have to edit the vba code, and would prefer that the
macro does not run at all at that time. The rest of the time we want it to
run without any prompts or messages (except for fata errors, of course).
Thanks for any help you can provide.
--
future_vba_expert

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
Automatic Startup for a Macro gspirrison Excel Discussion (Misc queries) 5 January 5th 10 06:07 PM
Disabling automatic formula arguments Kevin Burton Excel Discussion (Misc queries) 2 July 16th 08 11:20 PM
Disabling Automatic Date Thing MAtt Excel Discussion (Misc queries) 1 May 10th 08 09:43 PM
Disabling Automatic Date Thing MAtt Excel Discussion (Misc queries) 1 May 10th 08 09:37 PM
Automatic startup of an excel macro Quist Excel Programming 3 October 3rd 03 04:31 PM


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