LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default Detect Excel was started with Windows Task Scheduler

Using Excel 2000 to 2003.
I need to somehow detect that Excel was started with the Task Scheduler.
I don't need to open any particular workbook, but Excel has an add-in
installed that will open
(but load, so tick under Tools, Add-ins) an other add-in. This second add-in
will run code
with the workbook Open event. This code should only run though if Excel was
started with
the scheduler.
I have found only solution sofar, which involves opening a workbook with the
/p flag with a directory
as an argument but this doesn't work.
Thanks for any advice with this tricky problem.

RBS

 
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
Getting Task Scheduler To Use Current Excel Session When Opening F Carl Excel Discussion (Misc queries) 2 March 18th 06 02:46 PM
Can I add files to the getting started task pane in Excel? Steve Barnett Excel Discussion (Misc queries) 0 February 3rd 06 12:29 PM
Stop Getting Started task pane from launching in Excel United Way Dallas Excel Discussion (Misc queries) 0 December 15th 05 09:06 PM
Excute a Excel worksheet with Task Scheduler Randy[_15_] Excel Programming 0 September 8th 04 01:53 PM
Excel 2002 / XP - Running .XLS with Macros via Task Scheduler James Cox Excel Programming 0 August 19th 03 03:50 AM


All times are GMT +1. The time now is 09:30 AM.

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

About Us

"It's about Microsoft Excel"