Top "Ms-word" questions

For programming questions related to Microsoft's "Word" editor.

Using Interop.Word, is there a way to do a replace (using Find.Execute) and keep the original text's justification?

I'm attempting to write find/replace code for Word documents using Word Automation through Interop.Word (11.0). My documents all have …

c# .net ms-word office-interop word-automation
What's the best program / API for converting Word docs to PDF that does NOT require Office to be installed?

Well, really the title of the question says it all. There are similar questions on SO already. But here's some …

pdf ms-word ms-office pdf-conversion
How do I use the Microsoft Word API and Bookmarks feature to programmatically open a Word document to a specific location?

I'm trying the following code in a Windows Form application. I'm not sure what I'm doing wrong (and I could …

c# ms-word bookmarks
Convert HTML & CSS to DOC(X)?

Is there some utility that could be called via command line to produce a doc(x) file? The source file …

php html ms-word docx doc
How to delete cell contents in Word with VBA?

I've looked at the documentation for table cell objects and selection objects in VBA, and I didn't see any way …

vba ms-word tablecell
Embedding word 2010 editor in a wpf application

How do I use the word editor in a WPF application? Is it possible using windows forms hosting in WPF …

wpf editor ms-word ms-office avalonedit
Auto displaying form on opening a template file, dotm from explorer

I have written a form based document generation macro (in VBA) for distribution to a sales team. For their ease …

vba ms-word word-2013
Text-Replace in docx and save the changed file with python-docx

I'm trying to use the python-docx module to replace a word in a file and save the new file with …

python ms-word docx python-docx
Styling Microsoft-Word-Generated HTML

Ugh. Word is notorious for its bloated, convoluted, non-standards-compliant, non-semantic HTML. Unfortunately, I have a professor who is requiring us …

html css ms-word generated-code
rundll32 url.dll,FileProtocolHandler

I'm using rundll32 url.dll,FileProtocolHandler my_file.dotx to open files under Windows. It works fine with .docx documents, …

java windows command-line ms-word rundll32