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.

0
votes
0answers
21 views

Insert a Header in word via powershell

I am trying the powershell script from this Microsoft Blog$EmptyDoc=Get-ChildItem 'C:\\Users\\Admin\\Desktop\\test_folder\\empty.docx' $Path -Recurse -Include *.docx$wdApplication=New-Object -...
0
votes
1answer
18 views

how to set paragraph column counts using MS Word

I just want to set the last para columns in below code:wordDoc.Paragraphs.Last.Range.PageSetup.TextColumns.SetCount(3);But it sets the page 3 columns;So, what code can set the last para columns?
-1
votes
0answers
19 views

Fetch version history from word file in coldfusion

Is it possible to get the version history of a word document using coldfusion (or java directly in cfml) to not also import the current version and if it is, how?
-1
votes
0answers
11 views

Remove space between separate tables of figures after updating field

Now I am using tables of figures to make a report in MS word.My list of figures includes several separate tables of figures which can be updated by using "Update field".When updating entire field, ...
0
votes
2answers
20 views

Return Excel Row in Word Macro

I have ContentControl drop down box in Word. Once I select an item from a Drop Down list I want to search for that in an Excel document and set the row number equal to a variable.The code below is ...
0
votes
1answer
21 views

Userform Checkboxes to populate word doc and determine next form opened

So I’ve been trying to use some userforms with checkboxes to populate a word document and have hit a snag. Let’s say I am letting the user select their favorite animals from a checkbox list:[ ] ...
0
votes
1answer
12 views

Using wildcards in MS Word to replace special characters and reformat text

I'm trying to work out how to replace the following sentence:What’s Viktoria made / makes / making in the kitchen at the moment?with this:What’s Viktoria [**made**makes*&#...
-1
votes
0answers
7 views

Do not want figure captions to store preceeding text

I need to put a symbol in front of the caption in my document, but I do not want that symbol to appear when I cross reference.For example, if I caption a Figure:|+| Figure 1: My FigureThen ...
-1
votes
0answers
9 views

Convert characters pasted from Word

I have a bunch of .xml files which contain text pasted from Word so there are some characters which have to be converted to clean text (e.g. convert — to - or ‘ to ') in order to get the linux command ...
-1
votes
0answers
18 views

How is better to show doc\docx files after searching?

I write simple search app:User see the snippet with highlighted words and links to doc\docx (Microsoft only) files:How is better to show the content of file if I want positioning user to a founded ...
-3
votes
0answers
24 views

Update Word table based on Excel data

I have a Report Template created in MS Word. Now, I have some data in Excel spreadsheet which needs to be merged with the report template. I explored the Mail Merge functionality in MS Word, where I ...
0
votes
0answers
14 views

VBA MSWord Checklist with shuffled text

I'm currently working on an MSWORD Checklist which contains a table with three columns, 1st describes the check, 2nd has 18 checkboxes and acts as the initial check, 3rd has 8 checkboxes and act as ...
1
vote
0answers
47 views

How can i exactly position things i paste to word in c#

I have no idea how can I set position of a text/picture that I paste through code in C#.My code looks like this.Word.Application wa=new Word.Application();wa.Visible=false;Word.Document wd=...
0
votes
0answers
7 views

Msword- convert special charecters to html entity's

Hi everyone can anyone tell me how to convert special characters to html entity in MS-word only using VB script.
0
votes
0answers
43 views

Run-Time Error '462'

I am trying to run a macro from excel that will open up an existing word document, populate the fields from excel to word via content controls, and paste/format a table into the word document at a ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,