Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
75 views

I'm developing a Word add-in that uses some features that are not available in Word for Web (e.g. I'm accessing context.document.shapes which is only available on Word for desktop: https://learn....
Manuel Rauber's user avatar
0 votes
0 answers
37 views

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: -------------------------...
Tobias Krasinger's user avatar
0 votes
0 answers
72 views

I'm working on a Word add-in using the Office JS API and am building a converter that changes the selected text into a different format. I’m not encountering any issues when the selection is a ...
Hasnat Mahbub's user avatar
0 votes
0 answers
75 views

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 ...
Kasun Nimantha's user avatar
0 votes
0 answers
65 views

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 ...
Kasun Nimantha's user avatar
0 votes
1 answer
91 views

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 ...
Kasun Nimantha's user avatar
0 votes
1 answer
73 views

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 ...
Balaji Sundaram's user avatar
1 vote
0 answers
28 views

I'm a total newbie taking my first steps in developing a Word Addin using vscode and javascript. I've used this example that I'm trying to expand on: https://github.com/OfficeDev/Office-Add-in-samples/...
Eelco's user avatar
  • 11
0 votes
1 answer
112 views

I am really struggling to understand why my task pane is not showing up in Microsoft word. The button to trigger the taskPane appears under "AddIns" as expected but clicking it does not open ...
fersarr's user avatar
  • 3,541
0 votes
0 answers
27 views

I've created a Microsoft Word Add-in that works as expected on one Windows server with Microsoft Office 2021 Professional installed. However, on another server where Microsoft Office 2021 Standard is ...
Nisarg Parikh's user avatar
0 votes
1 answer
75 views

I'm new to Office Add-ins so this might be a trivial mistake. For this Typescript React Add-in I have created a Context Menu Extension Point that on click is supposed to run a custom function ...
Alfons's user avatar
  • 15
0 votes
0 answers
85 views

I have a Word document that contains Custom XML Parts, and it works perfectly when opened in the Desktop version of Word. Using Office.js, I can successfully retrieve the XML parts with the following ...
Zen Lang's user avatar
  • 172
0 votes
2 answers
245 views

I have a Microsoft Word 2021 document that I'd like to use a field code to insert the following Monday's date, whatever today's date is. For example, if I open the doument on Thursday 12th December ...
MartySmartyPants's user avatar
1 vote
0 answers
46 views

I'm using the Office.js client API to add a custom property key to a Word document through context.document.properties.customProperties. However, when I export the document to OOXML format using ...
Davide Bono's user avatar
1 vote
0 answers
92 views

I'm developing a Word web add-in with a task pane and dialog using office-js. The task pane functionality works perfectly when I sideload the add-in locally. Here’s the relevant part of my manifest ...
Abhishek Katariya's user avatar
0 votes
1 answer
168 views

HI Is it possible via the Office JS API to manipulate the Word document or individual paragraphs so as to make them read-only? To be clear, I would like to do this: https://support.microsoft.com/en-us/...
Davide Bono's user avatar
1 vote
1 answer
103 views

I'm using Word's client api, Office.js After reading a certain bookmark via its name with the function var bookmark = context.document.getBookmarkRangeOrNullObject("BOOKMARK"); Is it ...
Davide Bono's user avatar
0 votes
2 answers
104 views

I implemented the Word After Save Event by DAVID E. CRAIG in my VSTO Word AddIn in C#. I need the AfterSaveUiEvent to update a dictionary that contains some information about the document. The key to ...
Eliah Thommen's user avatar
1 vote
0 answers
58 views

Is there a way of getting the language of text in a document using the Word JS API for an Office Add In? It seems that the Word.Font class does not have this as an option: link Is there a work around ...
FelixKing's user avatar
0 votes
1 answer
81 views

I am using this example from the Microsoft Docs to add a button in the context menu, I am running the validator and the manifest file is valid. This ExtensionPoint is right below the ...
Arlind's user avatar
  • 397
0 votes
1 answer
45 views

I am developing a Word web add-in using Office.js, and I need to update the layout of the ribbon. I have created a basic ribbon following this documentation Here is a snapshot of my current ribbon: ...
Abhishek Katariya's user avatar
0 votes
0 answers
51 views

I am trying to let an algorithm automatically Track Changes in a Word Document. In this Case I want it to correct a string to in Track Changes Mode. However, the Track Changes Mode is not working as ...
WordAddinCreator's user avatar
1 vote
0 answers
27 views

I have underlined the word through my JS add-in code by updating the Ooxml value, and to identify that word I have used the bookmark, (added the underline inside the bookmark). The issue I'm facing is ...
Soham Nale's user avatar
1 vote
0 answers
110 views

Im currently developing a VSTO Word AddIn in C#. Properties that come from SharePoint (ContentTypeProperties) are stored in a customXmlPart with this namespace Uri: "http://schemas.microsoft.com/...
Eliah Thommen's user avatar
0 votes
1 answer
94 views

I am developing a Word add-in using OfficeJS and Angular. There is a requirement to update the ribbon text dynamically at runtime. Is this possible now? I want to display the name of the current ...
Abhishek Katariya's user avatar
2 votes
1 answer
93 views

I am currently developing a Vsto Word Addin in C#. I am looking for an event that is fired every time a new document is created from a template and the document is fully loaded and displayed to the ...
Eliah Thommen's user avatar
0 votes
0 answers
93 views

I want to use query string parameters on SourceLocation on a Office add in(Word add in). I can add the query string parameters inside the manifest.xml file. How can I read them inside taskpane.html ...
user1659922's user avatar
1 vote
0 answers
86 views

I am creating a Word add-in that writes in a document while generating some text. The problem is that sometimes the document already has something above the generated text, so I need to keep that ...
Lucas Gardini Dias's user avatar
1 vote
0 answers
36 views

I need to create a power bi paginated report whose source is mysql. This paginated report should give an export option in word file but Some columns of exported word file should be non-editable. later ...
Ashish's user avatar
  • 33
0 votes
1 answer
85 views

I need to change the size of the first X characters for my add-in. To do this, I should either be able to go through the individual characters or format the first X characters in one go. But I can't ...
Tino Hager's user avatar
  • 1,139
0 votes
1 answer
145 views

I have an Office web add-in for Word that needs to fetch custom properties from an API and store them under document.properties.customProperties the user will then be able to insert them into their ...
Alex's user avatar
  • 21
0 votes
1 answer
69 views

I would like to develop a Word Addinn. With which I can work my way through the paragraphs of a Word document and customize the formatting of the document. I would like to color the vowels of words in ...
Tino Hager's user avatar
  • 1,139
0 votes
1 answer
469 views

I am using office js to track the user changes in the document: async function setChangeTrackingMode() { // Sets the change tracking mode. await Word.run(async (context) => { context....
Abdalhadi Jarad's user avatar
0 votes
1 answer
62 views

We have at team, who needs to have Connected experiences in Office disabled. How can I get a office-js MS Word Add-in with a backend to work with Connected experiences disabled?
emraldinho's user avatar
0 votes
1 answer
549 views

I have a Microsoft Word document with tracked changes enabled, which I am trying to search for a string of text. I want to search for what the text would be if tracked changes were accepted. I do this ...
Joe Donovan's user avatar
2 votes
0 answers
88 views

I'm working on a Word Office Add-in project. I need to get the current Office file and upload it to our server. I got the file Object using Document.getFileAsync method. When I upload to the server I ...
Shiv Yadav's user avatar
2 votes
0 answers
48 views

I want to perform conditional rendering in Word. With the click of a hide button, I want to hide the selected text. and on the show, the hidden text should be visible again. How can I perform the ...
Shiv Yadav's user avatar
0 votes
1 answer
62 views

I am developing a Microsoft Word add-in using the JavaScript API, and I am encountering a problem when trying to import an external DOCX file into the current document. To achieve this, I converted ...
Manikandan's user avatar
0 votes
1 answer
333 views

Using this I am creating new document with base64String in word this is working in word desktop version but this is not working on Office 365. async function CreateNewDoc(event) { try { ...
user avatar
2 votes
1 answer
112 views

using This I am adding new row in table how can I give value to its cells await Word.run(async (context) => { const selection = context.document.getSelection(); selection.load('...
user avatar
-1 votes
1 answer
60 views

I am using this but this is giveing error TypeError: Cannot read properties of undefined (reading 'isNullObject') when I am using breakpoint then this is give selection.parentSectionOrNullObject ...
user avatar
0 votes
1 answer
176 views

I want to get current Word Section range. where my cursor is clicked get there section rage. this is like of Microsoft documentation Word.Section class
user avatar
0 votes
1 answer
210 views

I want to Get All hidden bookmarks names from my document in word using word JS add-in using this is I am trying but not done. getBookmarks(includeHidden, includeAdjacent) await Word.run(async (...
user avatar
0 votes
1 answer
178 views

I want to get the current active document info/text, which user is able to see on screen. Can we achive it throgh Word JS API? Or is there any other way to get the current/active page in word for JS ...
Soham Nale's user avatar
1 vote
1 answer
115 views

Is it possible to add and remove paragraph marks and hidden formatting symbols(¶) using office js.
M Junaid's user avatar
  • 988
0 votes
0 answers
58 views

I am trying to insert video in word document body but not succeed. is that possible to insert online video in word document using javascript. if anybody knows about it please help. thanks in advance.
M Junaid's user avatar
  • 988
0 votes
1 answer
108 views

the following function works just fine on the following desktop-version of Word (Microsoft® Word for Microsoft 365 MSO (Version 2309 Build 16.0.16827.20130) 64-bit). However upon testing it with ...
HighPriestPete's user avatar
0 votes
1 answer
78 views

using this I am Inserting 2 columns table with html. using "Word.InsertLocation.end" this is inserting html to end I want where my cursor clicked insert Html on that location. async ...
M Junaid's user avatar
  • 988
1 vote
1 answer
78 views

I'm developing a Word Web Add-in with Office.js. This will work in conjunction with a existing VSTO add-in. The VSTO installation process is as follows: A user clicks a link on a Web page. This opens ...
Peter Dongan's user avatar
  • 2,308
0 votes
2 answers
218 views

I am inserting a table design in word document last page from table html. how can I delete it this is my code async function NewMap() { try { await Word.run(async (context) => ...
M Junaid's user avatar
  • 988

1
2 3 4 5
12