Skip to main content
The 2024 Developer Survey results are live! See the results

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.

ms-word
0 votes
0 answers
23 views

Simultaneous access to the file by many computers from VSTO

I have about 20 comps using my VSTO add-in in MS Word working in local network. I have to write some statistic from this machines in one xml file common for all of them placeed in shared folder. How ...
deku's user avatar
  • 95
0 votes
0 answers
15 views

Using VBA to automate generation of multiple worddocs populated with data from excel sheet

I am using the following start to my VBA project, but when I run it I get a 1004 error and it highlights the below. The error seems to be the path, but I know not what the issue is. Sub ...
RavZerk's user avatar
0 votes
1 answer
33 views

Table direction in word RTL little box

I was wondering if it's possible to flip the little box next to table in word programmatically while keeping the data in the same cells? Here is an example: When I copy table from html: and paste it ...
Stanislav Bondarenko's user avatar
0 votes
0 answers
23 views

Problem with VBA buttons in Word Template

I'm creating a Word Template .dotm. In this template I add many informations about products from a spreadsheet, and the user can select products using a list and searchbox, and for each product ...
george nunes's user avatar
0 votes
1 answer
20 views

Multi-level listing bullet point "text" not showing in XML tree of Word Document's XML

I am trying to parse Word Documents using their XML; I am doing this through using Python's xml.etree.ElementTree module. This is the code I used to create a plain .txt file output for a given Word ...
Salaam Hamad's user avatar
-2 votes
0 answers
27 views

Read lines in docs file and put tab at the end of each line [closed]

I want to read a Word document in Python line by line and put a tab at the end of each line. I can manage it for each paragraph but that’s not what I need. I need it to be done for each line in the ...
Govert-Jan Hoogenboom's user avatar
0 votes
1 answer
34 views

Using VBA to mailmerge non-linear table in MS WORD with an excel table

I want to mailmerge a word document containing unlinear table from Microsoft word with an excel table. The word and excel documents contains table with 3 parameters to mailmerge named "Exigence&...
Guy-Ghislain APPIAH's user avatar
0 votes
0 answers
14 views

.docx file 'Unable to load the shape' [closed]

I am using libreoffice to convert .pdf file into .docx file using this command: libreoffice --infilter="writer_pdf_import" --invisible --convert-to docx PATH_TO_PDF --outdir OUTPUT_DIR I am ...
Florin Cioroianu's user avatar
-3 votes
0 answers
22 views

Module for Selecting Bold text for the selection in Microsoft Word [closed]

So I want to make a module for Visual Basic for word that simply select all the bold text from a selection in word. I tried building one from scratch couldn't do it, tried searching the web for ...
Pop Sonny's user avatar
-1 votes
0 answers
36 views

Use VBA to draw a box in a PDF file [closed]

I have a pdf file (see image below) containing a chart with the chart data also displayed at the bottom. I need to use VBA to draw a red box around the data values in the bottom group that are >=...
Glenn B's user avatar
  • 19
0 votes
0 answers
28 views

Tables located at th end of document

I want to transfer a table of Data from Excel to Word but i'm facing a problem. I want the following architecture for my word document : A title The table containing some data For each row of the ...
Brocas Sylvain's user avatar
2 votes
0 answers
41 views

Way to Automate Opening and Closing a Word Doc At Same Time Every Day? (Task Scheduler VBA Script Not Working)

I have tried Task Scheduler, but I can't stop getting the error ActiveX can't create component on line 3: Dim WordApp Dim Doc Set WordApp = CreateObject("Word.Application") Set Doc = ...
Christian Nelson's user avatar
0 votes
0 answers
40 views

How to add user details to MS Word doc using mail merge from MS Access query based on network username

I have an MS Word document that I would like to populate with username details, namely; FirstName, LastName, PhoneNo, MobileNo & EmailAddress. I have an MS Access database that has a table called ...
Matt Gilbert's user avatar
2 votes
2 answers
67 views

Content is out of order when using Excel VBA to create a Word document

The aim is to generate multiple different tables in a Word document from an Excel table. The code should take the title from the first column, then use the other columns to generate a table. The title ...
HG73's user avatar
  • 23
0 votes
0 answers
34 views

VBA Word Macro: How to Replace Page Number Fields in Headers and Footers with Plain Text?

I’m working on a VBA macro for Microsoft Word and need to replace page number fields in headers and footers with plain text. Specifically, I want to: Replace all page number fields in headers and ...
Eduardo A. Sánchez Torres's user avatar

15 30 50 per page
1
2 3 4 5
1429