Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default problem with Excel file created programmatically

All,

I am using Excel 2007. I create an Excel file with my C# app and all
is well.... except for add-ins. When I open the file that I created
add-ins are not enabled. Actually I think they are enabled, but the
Add-in menu is not on the menu bar, and when I enter a formula that
references one, it does not work. However, they are checked in the Add-
in window. Also, the Trust Center has macros enabled. What am I
missing here?

TIA,

Bill
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default problem with Excel file created programmatically

Are you opening Excel manually or via automation?
Add-ins do not load when Excel is opened using automation.

Tim

"bill" wrote in message
...
All,

I am using Excel 2007. I create an Excel file with my C# app and all
is well.... except for add-ins. When I open the file that I created
add-ins are not enabled. Actually I think they are enabled, but the
Add-in menu is not on the menu bar, and when I enter a formula that
references one, it does not work. However, they are checked in the Add-
in window. Also, the Trust Center has macros enabled. What am I
missing here?

TIA,

Bill



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default problem with Excel file created programmatically

On Jan 26, 10:02*pm, "Tim Williams" <timjwilliams at gmail dot com
wrote:
Are you opening Excel manually or via automation?
Add-ins do not load when Excel is opened using automation.

Tim

"bill" wrote in message

...



All,


Automation. That explains it. Is there a way to load add-ins via
automation?

TIA,

Bill


I am using Excel 2007. I create an Excel file with my C# app and all
is well.... except for add-ins. When I open the file that I created
add-ins are not enabled. Actually I think they are enabled, but the
Add-in menu is not on the menu bar, and when I enter a formula that
references one, it does not work. However, they are checked in the Add-
in window. Also, the Trust Center has macros enabled. What am I
missing here?


TIA,


Bill- Hide quoted text -


- Show quoted text -


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default problem with Excel file created programmatically

From:
http://groups.google.com/group/micro...09a32f7724e451

For Each tempAddin In oXL.AddIns
If tempAddin.Installed Then
oXL.Workbooks.Open (tempAddin.FullName)
End If
Next


Tim







"bill" wrote in message
...
On Jan 26, 10:02 pm, "Tim Williams" <timjwilliams at gmail dot com
wrote:
Are you opening Excel manually or via automation?
Add-ins do not load when Excel is opened using automation.

Tim

"bill" wrote in message

...



All,


Automation. That explains it. Is there a way to load add-ins via
automation?

TIA,

Bill


I am using Excel 2007. I create an Excel file with my C# app and all
is well.... except for add-ins. When I open the file that I created
add-ins are not enabled. Actually I think they are enabled, but the
Add-in menu is not on the menu bar, and when I enter a formula that
references one, it does not work. However, they are checked in the Add-
in window. Also, the Trust Center has macros enabled. What am I
missing here?


TIA,


Bill- Hide quoted text -


- Show quoted text -



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
Original Excel File gets deleted and temp file gets created. Sandy[_7_] Excel Programming 11 December 12th 06 01:31 AM
Excell Problem when opening file created in another application!! Zircum Excel Discussion (Misc queries) 2 March 28th 06 03:31 PM
Saving multi-tab excel file created from comma delimited text file Marcus Aurelius Excel Programming 2 December 19th 05 05:16 PM
Import csv file into excel programmatically Saumin Excel Programming 1 January 24th 05 10:42 AM
Data from Programmatically created Excel into SQL Server Raj Excel Programming 0 January 20th 05 10:03 PM


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