Category "ms-word"

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

How to add links to all Heading 1 style text?

The code is intended to add the same hyperlink to all Heading 1 style text. (Purpose: clicking any heading brings you to the top of the document). It works for

What is limit of Nested IF statement in MS Word?

Is there any limit on how many nesting we can use in Nested IF statement in Microsoft Word? Also, if limit can be different based on office version?

Cannot fully intercept or trap SaveAs Dialog

With the help of the web, I have been able to write some VBA to check content controls on a Word 2013 template document and use the content to create a filename

Getting a range's surrounding text in Office-js

I have code that finds text in Word and stores the resulting ranges in an array. I am able to navigate the matching result using the array of ranges. I also w

Where does Microsoft Office Add-ins manifest get locale from?

I have a Word add-in defined by a manifest xml file with the following overriding: <DefaultLocale>en-AU</DefaultLocale> <DisplayName DefaultValue