Category "ms-word"

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

Automating Mail Merge using Excel VBA

I created a macro in Excel where I can mail-merge data from Excel into Word Letter Template and save the individual files in the folder. I have Employee data i

Extract the values in a drop-down field

I would like to extract the values in a drop-down field with the title "email address". I would like the name selected to appear in the email "To" line. I'm add

How to set font size in empty cell of a Word table using the Open XML SDK?

I am creating a table in OpenXml with C# in a Word file. I used some code mentioned in this question to set the fontsize of the text in the cells. It works fine

Find and replace not working with trackchanges

I´m trying to find and replace multiple sentences from different word files from an specific folder. The words that I´m trying to change are on two

Retrieve the name of a shape

In Excel we have the "Name Box" in the upper-left side, but I could not find a way to retrieve the name of a shape in Word. How do I do that?

MS Word 2010 Could not open macro storage

I am creating Word Document Using Word Template Following is code Word.Document wordDoc = new Word.Document(); wordDoc = wordApp.Documents.Add(ref oTempl

How to convert PDF to Excel on a Mac?

I have a lot of PDFs to convert to excel. I found the code below which converts PDF to excel by opening the pdf file in word but it fails at Dim fso As New File

Fill an Outlook email template using words from a Word document using VBA

I am creating a Word document which contains macros that will convert the .doc to .PDF, and include it as an attachment in an autogenerated Outlook email contai