Gerd Goldberg
Posts: 8
Joined: 2007-06-07
|
Hello!
I tried to make a XLL-Addin for EXCEL with 1 formula (I uncommented then formula "AllSupportedExcelTypes"). This worked fine and I could use the formula in my EXCEL-sheet.
Then I tried to add a COM AddIn-Module with one CommandBar and one Button.
I again registered the project, but the CommandBar is not visible in EXCEL.
If I make a new Addin-Module project, the commandbar is visible in EXCEL.
I use Visual Studio 2005 Standard C# and Add-In Express 3.8.1886 Standard.
Before, I had installed Add-In Express for Visual Studio Express.
I found two hints about a similar problem in this forum, but they didn't work.
Thank you in advance for your assistance!
Gerd |
|
Gerd Goldberg
Posts: 8
Joined: 2007-06-07
|
Hello,
I found the solution by myself.
In one topic of this forum was written, that it is necessary to add EXCEL to the SupportedApps property. So i looked in the various Property forms to find this property but I didn't find it.
Now I added the codeline
this.SupportedApps = AddinExpress.MSO.ADXOfficeHostApp.ohaExcel;
to the "InitializeComponent()" method of the AddInModule and it works!
Gerd |
|