Questions Tagged [Ms-Word]

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.

19,569 questions
0 votes
0 answers
4 views

Add space and return after inline shape

I was hoping someone could help me with a VBA code solution in microsoft word. I used a code found online to re-size all of the pictures in a word document to be the same size. This is listed below: ...
1 vote
2 answers
13 views

Insert formatted text in word document with VBA Userform

I have a userform which contains some textboxes and a button. when button is pressed it insert text at the end of the document. however I need to insert the text as following format: First line bold -...
0 votes
0 answers
13 views

How can I set the FindReplace box in VBA to allow Word Document editing while the box is still active?

I'm trying to code some routines in VBA for Word that use regular expression to search for certain elements in documents. I got this code (please disregard for now that it's coded using Selection, it'...
0 votes
1 answer
16 views

Microsoft office interop word parse equation object and oMath objects as images instead of html

I have a docx file that I try to parse into HTML which works pretty good using microsoft office interop library. when there are some math equations in the docx file it parse them as images. My problem ...
  • 71
0 votes
0 answers
11 views

Signing in automatically into on prem Office 2016 enterprise Word, Excel, Outlook, PP [closed]

Can someone explain how user automatically signs in into Word 2016 on prem after installing Office package on windows? I got a new laptop at work and I am already signed in when I start Word and other ...
-1 votes
0 answers
20 views

Replace Picture From File Using VBA in Word [closed]

I have been working on this problem for hours, It seems so simple but maybe not. Using VBA I am trying to replace images with images in a folder that always have the same file names. Also all ...
0 votes
0 answers
21 views

Script to Copy all text from multiple Word Documents into seperate cells in a single Excel Document

I am trying to copy all the text, with formatting intact, from each of multiple Word Documents, and paste the text of each into a new cell in a single Excel Spreadsheet, placing the name of the Word ...
-1 votes
0 answers
13 views

Cut and paste white text content in table 1st row

(content in before the table, same way other pages too) Sub ChangeColorWithReplace() Selection.Find.ClearFormatting Selection.Find.Font.Color = wdColowhite Selection.Find.Replacement....
0 votes
1 answer
24 views

Outlook VBA Print to PDF

I would like to automatically print emails to PDF from outlook. I haven't found a way to automate the print dialogue. There are a couple other threads dealing with this same issue in Outlook VBA, but ...
0 votes
0 answers
11 views

How do I click a dialog button in MS Word on MacOS via Apple's Javascript for Automation?

I'm looking to click dialog boxes that appear in MS Word by using Apple's JXA automation tooling. I'd like to click on the following dialog boxes: Word found unreadable content in Do you want to ...
0 votes
1 answer
17 views

Assigning a password to a word doc using Read-host using Powershell

I have the following script to update passwords with an autogenerated 32 character password. It then makes a password-protected Word doc so that we can update our secure password library. Generating ...
-6 votes
1 answer
28 views

How can I implement a word to PDF conversion in python without importing any libraries? [closed]

First time poster here. I'm trying to convert one or multiple .docx files to PDF but I can't figure out how to do it without importing any libraries/modules aside from what is available in python 3.3. ...
1 vote
1 answer
30 views

Word 2021 Visual Basic database connection 64 bit not working

This code use to work with 2013 Word 32 bit and now its not working with 2021 Word 64 bit. Public Benzdb As Database Public sconnection As String Sub ConnecttoDatabase() 'Production System ODBC ...
0 votes
0 answers
17 views

Using python-docx to iterate over a document and change text

The Problem: I am supposed to create a word file with 250x5 placeholders. The background is akin to a database export into a word document. So I created the first placeholder Name_1 Adress_1 City_1 ...
  • 1
0 votes
0 answers
22 views

Binding not working with Track changes enabled in Office.js Word

I'm working Office App for Word using Office.js which has to detect changes whenever any content is changed inside a content control. For that I have used binding as shown below: private ...

15 30 50 per page
1
2 3 4 5
…
1305
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest