ms-word Questions

5

I need to create a word document from a word template, its something like, we need to replace the few strings (say variables) in the template with the values. Please tell how we can do this in PHP...
Kief asked 4/1, 2010 at 17:23

4

Solved

I have a number of word documents that will be converted to HTML. It is required the paragraphs in the word documents should be converted to <p> elements. After some tests with the Microsof...
Succedaneum asked 5/2, 2013 at 15:18

7

Solved

I know there are similar questions out there, but I couldn't find something that would answer my prayers. What I need is a way to access certain data from MS-Word files and save it in an XML file. ...
Characharabanc asked 31/3, 2014 at 7:57

6

Does anyone help me this problem? Now, in my word, I have around 200 header sections. How can I remove all of them (remove all header sections, not remove only its content)? Or how can I copy onl...
Vertievertiginous asked 20/7, 2015 at 4:39

4

Solved

I am editing an e-book document with a lot of unnecessary markup. I have a number of sections in the text with code similar to this: <i>Some text here</i> I am trying to run a regex ...
Unpretentious asked 19/6, 2014 at 14:3

4

I have a React app and I want to export some html content to word document and download it. for example: <div> Hello World!!!</div> <input type="button" onClick={exportToWord()}/&gt...
Ruralize asked 12/12, 2019 at 11:33

6

Solved

I want to get a list of all sub-directories within a directory. If that works I want to expand it to a recursive function. However my initial approach to get the subdirs fails. It simply shows ...
Aprilaprile asked 22/3, 2012 at 17:46

4

Solved

When I am accessing paragraph text it does not include the numbering in a list. Current code: document = Document("C:/Foo.docx") for p in document.paragraphs: print(p.text) List in docx...
Pifer asked 25/2, 2021 at 18:11

3

I do not know how to make the simplest in the world resizable UserForm. What I have seen on different forum threads are terrible behemots (huge as the Universe libraries doing too much). But I need...
Dawkins asked 1/12, 2014 at 19:37

5

Solved

I would like to use c# to convert a doc file to docx file. Can this be done without Word on a server?
Delusion asked 26/11, 2009 at 13:6

5

Solved

I have a simple requirement. I need to search a string in Word document and as result I need to get matching line / some words around in document. So far, I could successfully search a string in f...
Vernavernacular asked 27/11, 2014 at 11:1

2

Solved

I want to write a program that copies text from a Word document and pastes it to another. I'm trying to do that using the python-docx library. I was able to do that with the following code, but it ...
Repetitious asked 19/2, 2018 at 15:36

3

Solved

MsWord uses Wingdings and Symbol characters for bullets, by default their hex values are F0A7 and F0B7. I want to convert the bullets to their Unicode equivalents. Of course, it depends on the actu...
Armenta asked 27/7, 2010 at 19:3

2

I'm using python-docx library to extract data from a docx document, however I also want the heading number/ paragraph number. I want to build a build a proof reading tool for which I need to know t...
Dreiser asked 7/10, 2020 at 10:15

5

Solved

I'm new to VBA and trying to get an automated word document working. At the moment there is a Button in the document that which upon pressing, will fire off an email with the document attached. H...
Riorsson asked 23/10, 2014 at 0:22

3

Solved

I am using Office 2016. I have copied some text from the Microsoft website from here. The code snippet on the Microsoft website is formatted with a grey background. Now when I copy this text and pa...
Infract asked 8/3, 2024 at 16:55

6

Solved

I am making a report about my program and I need copy all the code to an MS document. The problem is that I need to keep every colour as it is. I've tried using Notepad++ for this and online conver...
Porterporterage asked 17/3, 2019 at 16:43

48

Solved

Does anyone know a way to display code in Microsoft Word documents that preserves coloring and formatting? Preferably, the method would also be unobtrusive and easy to update. I have tried to incl...
Annates asked 22/12, 2008 at 21:45

2

I need a way to automatically change copy-pasted text into the document default font and font size. This needs to be document based. Basically, a client doesn't want to do anything more than copy-p...
Pansie asked 4/10, 2023 at 9:47

4

Solved

In general, Using VBA, how do I determine where the Current users Application Data folder is? The FileSystemObjects special folders only knows about 3 folders WindowsFolder SystemFolder Tempor...
Nailbiting asked 10/6, 2009 at 15:58

3

Solved

I am using python docx library to manipulate a word document. However I can't find how to align a line to the center in the documents page of that library. I can't find by google either. from doc...
Gravedigger asked 4/6, 2014 at 6:59

3

Solved

I'm working on a javascript front end site to run in the browser [Chrome], and I'd like to launch Word on the clients PC with their selected macros that have already been setup in Word for them on ...
Perfervid asked 10/4, 2014 at 11:40

2

I have a macro in word 2010, that adds a footer to documents when you print them (i.e. after you click the "final" print button, in the print preview screen). Currently, in order to foot the docu...
Patiencepatient asked 21/2, 2018 at 15:45

3

Solved

I am trying to add code snippets in Microsoft Word for my final thesis. The image below is the sample. I want to ask how to add these kind of code snippets in a word document.
Overpowering asked 3/5, 2017 at 19:53

6

My application (vb.net windows application deployed via ClickOnce) uses Word to open and fill .dot templates to create new Word documents. I reference Microsoft Word 14 Object Library and uses this...
Meitner asked 7/3, 2012 at 16:45

© 2022 - 2025 — McMap. All rights reserved.