6,694 questions
0
votes
0
answers
79
views
async function not executing via Word dynamic menu ribbon button
I have a dynamic menu button in our custom VSTO ribbon. I am loading content to it at runtime. That process is working fine. Dynamic drop down is creating fine. this is the code.
In Ribbon.xml
<...
0
votes
0
answers
29
views
New VSTO Word Add-In unable to start word
I created a new C# VSTO Word-Add in (Framework 4.8.1) in Visual Studio 2022.
Made no modifications at all and then tried to start it (F5), but it ends with this error message:
-------------------------...
0
votes
1
answer
60
views
How to detect nested groups in PowerPoint using VSTO (C#)?
VSTO is unable to capture nested groups within PowerPoint slides.
For example, consider this structure:
Group1:
├── Group2:
│ ├── Rectangle1
│ ├── Rectangle2
│ └── Line (connecting ...
1
vote
1
answer
54
views
How to Access Active Page Filters in Excel PivotTable using C# Excel Interop (VSTO)?
I understand that when there is only one filter active, I can easily obtain its value by accessing the cell adjacent to the page filter. However, when multiple filters are applied, Excel displays this ...
1
vote
1
answer
50
views
Outlook classic (vsto): Identifier of context menu of appointment in reminder window
I would like to add an item to the context menu of an appointment in the reminder(s) window in outlook classic:
Is this possible in a VSTO add-in, and if so, what is the identifier of the context ...
0
votes
0
answers
72
views
Word Interop Find.Execute() modifies the source Range object to a undesired value
I'm using Word Interop Libraries to identify bold text in a Word document and add comments to those sections. However, while running the code, I noticed an issue(from the Word UI): when a bold part or ...
0
votes
2
answers
116
views
VSTO Outlook Add-in: SDK-style Project Works with Direct Install but Fails with WiX MSI
Problem Summary
I have a critical issue with my SDK-Style generated VSTO Outlook add-in when deployed via WiX MSI installer. The same VSTO files work perfectly when installed directly (double-click ....
0
votes
0
answers
63
views
Issue with UndoRecord.StartCustomRecord in VSTO add-in: Undo stack breaks after bullet/numbering
I am using UndoRecord.StartCustomRecord in Microsoft.Office.Interop.Word to create custom undo records in my VSTO add-in. However, I’ve encountered some unexpected behavior that makes the Word undo ...
3
votes
1
answer
159
views
VSTO Outlook Add-in: SDK-style project fails to generate .vsto and .dll.manifest files despite successful compilation
I'm trying to convert a classic VSTO Outlook add-in project to SDK-style format while maintaining full VSTO functionality. Both csproj project files compile successfully and produces a working .dll, ...
-4
votes
1
answer
97
views
Using .NET how would you set a CheckBox to true within an array?
I have populated a column of check boxes, and attempted to set the value of them to true like so:
worksheet.CheckBoxes("Check").Value = True
This is my code:
Public Sub ...
0
votes
1
answer
70
views
Replace multiple spaces with single space using Word Find Replace with track changes on
I am implement a function to do below two tasks. User have the ability to either run both or run a single task only (handle via check boxes).
Task 1 : Replace multiple spaces into a single space on a ...
0
votes
1
answer
54
views
Prevent VSTO .msi installation if Word is running (check winword.exe)
I'm developing a VSTO add-in for Microsoft Word and packaging it using a .msi installer (Visual Studio Installer Project). Before proceeding with the installation, I want to ensure that Word (winword....
0
votes
1
answer
91
views
programmatically Enable "Always Use These Values Regardless of Sign-in to Office" in MS Word API
TL;DR:
I want to programmatically enable the "Always use these values regardless of sign-in to Office" setting found in File > Options > General in Microsoft Word. Does any Word API ...
0
votes
1
answer
66
views
how to identify "Comments" button VSTO identifier in windows word document
I have VSTO Addin in word document, and I want to identify the "Comments" button that is displayed on top right corner of the word document. provided a screenshot for reference.
The comments ...
0
votes
0
answers
76
views
Correct use of HttpClient for a VSTO addin
I recently updated and migrated my backend from SOAP WCF to a REST API (C#). This backend is utilized by an Outlook add-in (desktop version) to save documents, including emails and attachments, to a ...