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: 158
Default Update Links, Scheduled Tasks and UDFs

I have a .xls file which calls a UDF function from an xla addin (I will call
the workbook...MyFile.xls). MyFile.xls also has an Auto_Open procedure.
When run normally MyFile.xls works just fine.

However, when run as a scheduled task, the task hangs awaiting someone to
answer the update links question. The Scheduled Tasks Manager appears to
open the MyFile.xls workbook BEFORE all Add-ins are installed (including the
UDF.xla that it needs).

I found that if the user DOES NOT have the add-in "Analysis ToolPak -
VBA/ATPVBAEN.xla" installed, they will receive the "Update Links" question.

If they do have the "Analysis ToolPak - VBA/ATPVBAEN.xla" installed, they DO
NOT receive the "Update Links" question.

When running the MyFile.xls from the Scheduled Task Manager -- once the user
has the "Analysis ToolPak - VBA/ATPVBAEN.xla" installed, ALL Add-ins load
BEFORE the MyFile.xls workbook is opened (This is not the case if the
ATPVBAEN.xla is not installed. The MyFile.xls opens before all .XLAs, COMs,
etc. are opened).

Can anyone tell me what the "Analysis ToolPak - VBA/ATPVBAEN.xla" is doing
that would cause all .XLAs, COMs, etc. to load prior to the MyFile.xls
workbook being opened when called from the Scheduled Task Manager? I would
rather not use the ATPVBAEN.xla if it is not required for the workbook.
However, this situation is forcing me to have it installed even though it is
not needed for the VBA code.

Thank you for your assistance.

--
Thx
MSweetG222

 
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
Windows Scheduled Tasks Norm Excel Discussion (Misc queries) 2 April 30th 10 06:44 AM
What is correct syntax when using Scheduled Tasks? Doug Excel Discussion (Misc queries) 0 March 9th 09 03:49 PM
Scheduled Tasks & Starting Excel in a Minimized Window MSweetG222 Excel Programming 5 March 27th 06 01:36 AM
Open workbook with scheduled tasks? [email protected] Excel Programming 1 May 31st 05 11:16 AM
starting macros via scheduled tasks mnichols Excel Programming 1 May 24th 04 09:37 AM


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