Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 186
Default Addins not loading when opening from code

Hello all,

I have a workbook that uses the "Analysis ToolPak" Addin. When I open the
workbook normally, everything is fine with no probs. If I try to open the
workbook through code though, it acts like the addins are not installed, even
though when you goto Tools Addins the option is checked.

I have other workbooks with this same setup that opens fine through code,
it's just this one workbook.

Does anyone know what would cause the addins not to be recognized for only
this workbook and no others?

Thanks, Jack
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Addins not loading when opening from code

Opening from code does not load the addins, you need to do it yourself from
the code.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jack" wrote in message
...
Hello all,

I have a workbook that uses the "Analysis ToolPak" Addin. When I open the
workbook normally, everything is fine with no probs. If I try to open the
workbook through code though, it acts like the addins are not installed,

even
though when you goto Tools Addins the option is checked.

I have other workbooks with this same setup that opens fine through code,
it's just this one workbook.

Does anyone know what would cause the addins not to be recognized for only
this workbook and no others?

Thanks, Jack



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Addins not loading when opening from code

If you open excel through automation, the addins are not loaded. You have
to load them yourself (in your code).

It is unclear if this is what you are doing or why you say other identical
workbooks don't have this problem.

--
Regards,
Tom Ogilvy

"Jack" wrote in message
...
Hello all,

I have a workbook that uses the "Analysis ToolPak" Addin. When I open the
workbook normally, everything is fine with no probs. If I try to open the
workbook through code though, it acts like the addins are not installed,

even
though when you goto Tools Addins the option is checked.

I have other workbooks with this same setup that opens fine through code,
it's just this one workbook.

Does anyone know what would cause the addins not to be recognized for only
this workbook and no others?

Thanks, Jack



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Addins not loading when opening from code

Here is some additional information:

http://support.microsoft.com/default...b;en-us;108888
Add-Ins Don't Load When Using CreateObject

http://support.microsoft.com/default...b;en-us;280290
How To Install an Excel Add-In (XLA or XLL) with Automation

--
Regards,
Tom Ogilvy


"Tom Ogilvy" wrote in message
...
If you open excel through automation, the addins are not loaded. You have
to load them yourself (in your code).

It is unclear if this is what you are doing or why you say other identical
workbooks don't have this problem.

--
Regards,
Tom Ogilvy

"Jack" wrote in message
...
Hello all,

I have a workbook that uses the "Analysis ToolPak" Addin. When I open

the
workbook normally, everything is fine with no probs. If I try to open

the
workbook through code though, it acts like the addins are not installed,

even
though when you goto Tools Addins the option is checked.

I have other workbooks with this same setup that opens fine through

code,
it's just this one workbook.

Does anyone know what would cause the addins not to be recognized for

only
this workbook and no others?

Thanks, Jack





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
Addins-Slow loading of each individual Addin using Excel 2007 dplunkett Excel Discussion (Misc queries) 0 May 9th 09 07:16 AM
Image not loading when opening Workbook wadein Excel Discussion (Misc queries) 1 April 12th 06 01:53 PM
Disable VBA code execution when loading a workbook Charles Excel Discussion (Misc queries) 4 October 14th 05 09:12 PM
Excel 2000 not responding, opening, loading bubba[_2_] Excel Programming 2 May 26th 04 05:09 AM
Auto opening macro when loading a workbook Mike Boardman Excel Programming 4 May 8th 04 07:42 AM


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