Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Lee Lee is offline
external usenet poster
 
Posts: 3
Default Excel Scripting (vbscript) doesn't load Excel add-ins

I have a vbscript that opens excel and performs some analysis.
I have an add-in that needs to be loaded when I run the script, but it does
not.

If I just open excel, the add-in loads fine, but when the script opens
excel, the add-in does not load.

is this by design, or is there a way around this?

Thanks in advance.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Excel Scripting (vbscript) doesn't load Excel add-ins


When Excel is opened via automation, start up files and add-ins are
not loaded. This is by design to make the application start as quickly
as possible. If you need to load an add-in, you must do so with code:

XLApp.AddIns("Add In Name").Installed = True

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Mon, 23 Feb 2009 09:10:01 -0500, "Lee"
wrote:

I have a vbscript that opens excel and performs some analysis.
I have an add-in that needs to be loaded when I run the script, but it does
not.

If I just open excel, the add-in loads fine, but when the script opens
excel, the add-in does not load.

is this by design, or is there a way around this?

Thanks in advance.

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
SCripting Border in Excel KevinF Excel Programming 2 May 16th 07 02:17 PM
VBA scripting in Excel Len Excel Programming 5 April 27th 06 04:06 AM
AVAYA CMS Scripting through Excel VBA Maxi[_2_] Excel Programming 5 March 11th 06 07:33 PM
Scripting Excel - EXCEL.EXE refuses to leave task manager after .Quit and =Nothing? Matt[_28_] Excel Programming 2 December 14th 04 02:36 PM
is excel by itself enough to do scripting? gee at excel Excel Programming 1 October 14th 04 09:03 PM


All times are GMT +1. The time now is 10:24 PM.

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"