For programming questions related to Microsoft's "Word" editor.Questions on general usage of the editor are off-topic for Stack Overflow; they should be asked on Super User instead.

learn more…| top users | synonyms (1)

0
votes
0answers
12 views

Office JS API: last saved time?

I develop a Javascript Office add-in which can run on Word, Excel and PowerPoint. One of the features of the add-in is to suggest user to upload current file to our server if the file have changed ...
1
vote
0answers
26 views

How do I copy the contents of a word document?

I want to write a program that copies text from a Word document and pastes it to another. I'm trying to do that using the python-docx library. I was able to do that with the following code, but it ...
-1
votes
0answers
7 views

Adding Line Items and Check boxes by button

Word Doc TemplateItem 1: I would like to be able to click this plus sign that will then add a checkbox that's similar to what Item 2 is pointing at.Item 3: I would like to click the plus sign and ...
0
votes
0answers
11 views

MS Word ExportAsFixedFormat(..) throws Exception 80070057

I want to automate the print2PDF procedure in Microsoft Word for use with Dragon NaturallySpeaking.I created this macro which is executed when the user has a document opened and says "Print to PDF":...
1
vote
1answer
17 views

How to format enumerated lists from latex to docx

I have several hundred Word documents to generate from latex sources, TEX to DOCX. Pandoc works just fine with one little glitch -- enumerated lists in LaTeX are rendered with Roman numerals in the ...
0
votes
2answers
12 views

Microsoft Word DOCPROPERTY prevent new line

I'm quite new to VBA and Microsoft Word template building.My task is to keep a 'custom document property' in a single line.Opening a docProperty's 'Filed code' (using Shift + F9) shows the following ...
0
votes
0answers
9 views

Word Table addRows in JS API has unwanted side effects in OOXML

I'm trying to add rows to a Word table through an add-in.The rows are being added correctly, but it seems that the original OOXML of the document is being modified by the addRows invocation, which ...
0
votes
0answers
19 views

Enable and Disable menu buttons in word VBA

i want to enable and disable this menu items (in the attached pic).when i press the play button i want it will be disable and the stop will be enable and when i press the stop the play becomes enable ...
-1
votes
0answers
9 views

Is there a way to find and replace a part of text in a .docx using javascript [duplicate]

I basically need a way to find and replace a string which I made look like this &&string&&. I need to replace it into a given string s. If there is no way of doing that, can I convert ...
1
vote
1answer
29 views

Word Web Add-in: Sorry, but we can't start this app because it isn't set up properly

I try to deploy my Word web add-on that created by Visual Studio 2017 using the Slideloading method.When I upload the manifest file the message it gives to me seems fine saying: Get started with ...
1
vote
1answer
30 views

Taskpane is not updated upon clicking a ribbon button Word for mac

I have developed a sample Word Add-in with many Buttons in the Ribbon.On the click of the first button, an HTML page is getting displayed in the Task Pane. On the click of any other button, the ...
0
votes
0answers
9 views

How to write a real rtf stylesheet for MsWord

I wonder how to achieve a real stylesheet with RTF for Word ?Declaring the styles' format in the "\stylesheet" part only doesn't seem to be enough for Word and Wordpad(*). And the only way out I ...
2
votes
1answer
36 views

Office Add-in: Cannot clean Word document after inserting ooxml (Office Online, works on Desktop)

Trying to replace the contents of a Word document after inserting it the first time. When I run this code:Word.run(async context=> {let range=context.document.body.getRange();let ...
0
votes
0answers
16 views

Preserving format alignment when copying into Word content control

I am creating a Word 2016 form that has multiple Rich Text content control boxes. I have left indented .5" on most of the boxes, which works as expected when typing in content. However, when I copy/...
-3
votes
1answer
16 views

How to get number of page of msword file? [duplicate]

How to get a number of pages of msword file in the android studio ??I know the URI of that file. I don't want to open that file in my app.is it possible to know the number of pages of msword file?...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,