Questions tagged [comaddin]

Represents a COM add-in in the Microsoft Office host application.

Represents a COM add-in in the Microsoft Office host application.

87 questions
0
votes
1 answer

Copy Excel range with merged cells to Word table - is this a bug and how to resolve?

In my Word add-in (VSTO, vb.net) I built a import from/export to Excel and merged cells is giving me grief. My current environment is Win11/64 bit Office365. I've not yet been able to test on any other environment. The importer function basically…
Boeryepes
  • 506
  • 1
  • 3
  • 7
0
votes
0 answers

Data Streamer add-in not present in COM add in list

As previously stated in the title, I don't see Data Streamer in the add-in list of COM add-ins, where can I download it and which file do I choose to add it? Also, if I'm unable to get data streamer on my version (I'm using the student version of MS…
Dev Rao
  • 7
  • 1
  • 6
0
votes
1 answer

Outlook addin: how to get current search text box value

I have an Outlook COM addin and would like to be able to read the current search box text value that the user has enter. How do I do that?
0
votes
1 answer

Raising an Event/Calling a Method on a MS Access form from a C# MS Access COMAddIn

I have an VS 2008 C# MS Access add-in and I wanted to know how I could raise events or call methods on an MS Access form. Simply put, how do I raise an event or call a method on a Microsoft.Office.Interop.Access.Form object from within C# and get…
enamrik
  • 2,292
  • 2
  • 27
  • 42
0
votes
1 answer

excel interop - how to run excel com add-in code

I have an excel add-in i created. What i want to do is to open an excel document in c# (ASP.NET) and run some code in the add-in and then return the excel document as an html page. Can this be done?
Daniel
  • 2,331
  • 3
  • 26
  • 35
0
votes
1 answer

Python win32com demo outlookaddin.py control button Caption not working

coming straight to the point, I tried using the Python win32com demo outlookAddin.py and it was working fine with Outlook 2010. I upgraded to Outlook 2016 and since then the outlookAddin.py is still working however the addin msoControlButton that it…
Premanshu
  • 79
  • 2
  • 12
0
votes
1 answer

Access Excel VSTO COM Addin from child process (console app)

What I'm looking to do is to be able to launch a child process (with elevated privileges) from my VSTO COMAddin that can access the COMAddin object for the process that spawned it. More specifically, I want to be able to kill the addin (via…
Lyle Rolleman
  • 195
  • 1
  • 1
  • 10
0
votes
1 answer

Cannot get hyperlink from winword document: TYPE MISMATCH

I have the following code in my COM Add-In for MS Office to go through all hyperlinks in winword document and then parse them: ... HRESULT hr; ULONG nRet; CComQIPtr hylinks = doc->Hyperlinks; // CComQIPtr<_Document>…
0
votes
1 answer

Create Com Add in is shown in Inactive Application Add-ins in Outlook 365

I created a Com Add in using visual studio 2010 Shard Add-in project template. When i build the project, the registry entry is written. When i open outlook 365 it shows the Add in Inactive Add in section. How can i get it to work? I followed the…
0
votes
2 answers

Make an Excel COM add-in a VSTO add-in

I have coded an Excel add-in using Visual C#. This add-in appears as a COM add-in in Excel. However, I am quite sure that it used to appear as an Excel/VSTO Add-In in Excel before an update of Visual Studio. (I know that I was able to access the…
0
votes
2 answers

Outlook COM Add-In - Show TaskPane in Outlook Compose Window

Config: Outlook 2016, COM Add-In (C# not office.js) -- We are also using Addin-Express' COM library but that's built on top of existing TaskPane in Outlook. We currently are using the Outlook TaskPane and it works well in Outlook's main window: If…
OverMars
  • 1,077
  • 3
  • 16
  • 33
0
votes
3 answers

COM Add-in not going away in word 2007

I have two different COM add-ins, one for Word 2003 and one for Word 2007. Word 2003 works like a charm every time, no issues etc...but now, when I open Word 2007, the buttons from Word 2003 appear in my Word 2007 ribbon. This still happens even…
kUr4m4
  • 659
  • 2
  • 10
  • 24
0
votes
0 answers

Excel Data Validations corrupt worksheets (when copying?)

Edit: I further looked into this issue and have now a minimal file in which I can reproduce the error/bug. All Add-Ins are deactivated and I use only 4 lines of VBA-Code: Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As…
be_kehrer
  • 41
  • 5
0
votes
2 answers

C# Written VBA Functions (COM Add-in) with Optional Argument

I am working on some VBA COM Add-in and Excel Add-in, whose core codes are written in C#. I'd like to set an optional argument for the function and I know that this is legal for both C# and VBA, and even Excel WorksheetFunction. But I find that…
Yang Wang
  • 165
  • 6
0
votes
1 answer

how publish Outlook Com Add-In from Visual studio Ultimate

I've viewed several docs already on how to install a Com Add-In, but I'm still having issues with testing. I have created an add-in using Visual Studio Ultimate 2010. I publish the add-in and then run the installer for outlook. When I view the…
user3377627
  • 363
  • 3
  • 7
  • 22