Category "ms-word"

Getting text from the pointer till the end of the document in JS Word api

How can i get the text in range from the current location of the cursor till the end of the file? I use JavaScript Word api.

Unable to use runas with winword 2016

I'm trying to run winword (Office 2016) as another user from an administrator command prompt: runas /user:[local administrator user] "C:\Program Files (x86)\Mic

Set table column widths in Word macro VBA

1. What I'm Trying To Do I have a folder with 84 Word documents (.docx). Every document contains a table of identical layout (some of the documents span across

Setting Metadata in Word and Retrieving in Excel

I'm trying to write a program that updates a Word document's metadata with content control boxes. The Excel document then loops through a directory that holds t

Extract text content from PPT and output file as a word doc

Taken dis codes from random sites using for extract the text content in Slide and Notes section from PPT slides. But the output file given as a NOTEPAD. I want

Import JSON data into a Microsoft Word template?

I am currently working on an application that grabs information from an API and returns it as JSON. The purpose of all the data is to fill in a Microsoft Word d

Mass Find & Replace including subfolders

I don't really know VBA but have had some success with manipulating code in the past. I'm getting stuck with this one, where I tried to mix 2 different ideas in

Is there any possibility for document paragraph-level tagging and filtering, e.g. by VBA or C#?

The MS Word document has the ability to mark tags at the file level, which can be used from Windows Explorer to make it easier to search for files by document&r

Apache POI: ${my_placeholder} is treated as three different runs

I have a .docx template with placeholders to be filled, such as ${programming_language}, ${education}, etc. The placeholder keywords must be easily distinguishe

Apache poi get table from text box

I'm using apache poi for iteration table in docx file. All works fine but if table in text box, my code don't see table - table.size() = 0 XWPFDocument doc =

Word VBA: How to create cross reference to figure in text box?

I'm creating a Word VBA macro to insert a text frame containing an image and its caption, and then create a cross reference to it in the main document text. B

How to add and show bookmarks in word online?

There is a setting in word desktop version to show bookmarks as below: File=>Options=>Advanced=>Show bookmarks But I couldn't find a similar sett

Can macros be used to change properties of ActiveX Controls in Word?

I have a worksheet with multiple fillable fields (ActiveX Controls-- text, drop-down, dates, etc.) and essentially want the form to go to two parties. The first

I want to convert .docx to .dotx

I have populated some mail merge fields in a .docx file and now I want my script to convert the saved .docx file to a .dotx file. I am using Python 3.6. from _

What is the most safe way to protect Word document from editing and copying [closed]

I need to protect my Microsoft Word document against text copying. I have found a solution in restricting the permissions described here. In

Adding inline image with Caracal in Ruby on Rails

I'm trying to get text to show up in-line with an image using the Caracal ruby gem. It currently does this: But I need it to instead do this instead: (accom

Office JavaScript API: track changes

I'm working on a side project using the Microsoft Office JavaScript APIs and have gotten stuck on something I don't see mentioned in the documentation. Is ther

Microsoft Word: Putting Table In-Line with bullet point

Whenever I create a table in Microsoft Word, it puts the table underneath the respective bullet point instead of in-line with the bullet point. How can I get th

Microsoft Word: Putting Table In-Line with bullet point

Whenever I create a table in Microsoft Word, it puts the table underneath the respective bullet point instead of in-line with the bullet point. How can I get th

Office Word vba: How to have different alignments in a word table cell?

I want to write in a word some information via vba. I'm having a problem with the contents of a table I want to import. As you can see my table has 2 columns. T