Microsoft Word





Microsoft Word is a commercial document editing program that is part of the Microsoft Office suite. It features numerous text-editing tools for creating richly formatted documents, along with tools for the use of macros in Word documents. Word's native file formats are denoted either by a .doc or .docx file extension. Plugins permitting the Windows versions of Word to read and write formats it does not natively support, such as the OpenDocument format (ODF) are available. Word can import and display images in common bitmap formats such as JPG and GIF. It can also be used to create and display simple line-art.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have a Microsoft Word 2016 document with form fields that are being extracted by Excel VBA button.  I need to put instruction text in the gray box but when I following Google's instructions, the gray box goes away.  Unless the data is in the "gray" box, it doesn't import in the Excel file.
When exporting text to a .tab file, then opening a Word doc, then trying to insert a portion of the tab file into this Word doc, I get an error message - "Run-time error '4605':  This method or property is not available because this command is not available for reading."  When I click on Debug, it then highlights the Selection.InsertFile lines.  I've never received this error before; however, I have a new PC, Windows 10, 32-bit OpSys (to allow DOS), and MS Office Professional Plus 2013.  I checked and the .tab file does exist.  Any suggestions?

    ChangeFileOpenDirectory "R:\fmExports\MastersandMacros"
    Documents.Open FileName:="woodrich_letterhead.doc", ConfirmConversions:= _
        False, ReadOnly:=False, AddToRecentFiles:=False, PasswordDocument:="", _
        PasswordTemplate:="", Revert:=False, WritePasswordDocument:="", _
        WritePasswordTemplate:="", Format:=wdOpenFormatAuto, XMLTransform:=""
    ChangeFileOpenDirectory "R:\fmExports"
    Selection.InsertFile FileName:="", Range:="", _
        ConfirmConversions:=False, Link:=False, Attachment:=False
Hi all,

I need to change document language/selected text language to english US/English (United States). I tried below coldes to change the language.

Selection.Range.LanguageIDFarEast = wdEnglishUS

Open in new window

But, I am getting error message like below

Run-time error '5843':

One of the values passed to this method or property is out of range.

a customer called to say their printer has a defect.

they use MS Word/Excel a lot.  Whenever they use the Quick Print button on top of their screen, the customers gets multiple copies printed out of the document that is currently opened. Some other documents seem to get printed 2 times, other documents are printed up to !50! times.

there's no consistency in the number of documents printed the use quick print generate. However the number stays the same, for the same document.
i can not seem to find the settings for this.

when the customer does CTRL + P and the prints, the SAME document to the SAME printerdriver they get just one copy.
off course, the printer is not the problem, using other software on the same pc, using the same printer driver does not generate the same problem.

there must be something set that is stored behind the quick print button
Word or Excel crash when click print properties - otherwise prints OK
OS-Windows 10 with all updates
Adobe DC is fine, Wordpad & Notepad is fine even Other Canon Printer is fine

Uninstalled Office 2016-64bit and installed Office 2019-64bit

Uninstalled Printer & Re-installed printer
All was working OK until Monday morning

Any ideas
Hello All.  This might get more complicated than I originally hoped.

 I am using data from a MS Access Table to populate a MS Word Table.
     acro_spacer and  acronym

One of two  "Custom Styles"  must be added to each row of the MS Word Table when the data is added.
i was hoping that someone could provide with the correct syntax?

     If strtxtStatusAAW = "Add" Then
        objDoc.TrackRevisions = True
        strTrackRevisions = True
        tblAppA.Cell(intrsttblAppendixAWorkingRowCounter, 1).Range.Text = strttxtTermAAW
        tblAppA.Cell(intrsttblAppendixAWorkingRowCounter, 2).Range.Text = strttxtDefinitionAAW
      tblAppA.Rows(intrsttblAppendixAWorkingRowCounter).Selection.Range.Style = "acro_spacer"   BTW. Did not work.

    End If

Please hang in there with me.
This is where the possible problems start.  When I create a new document and Add the Table using VBA, The Custom Styles are not in the Styles Choice List.
They are in the list of previous documents that have used the custom styles.  See Photo Attached.

Next Questions:
Can I use VBA to Add them to the Styles List just by saying Add Style acro_spacer or acronym and then use them?
         objDoc.HeadingStyles.Add Style:="acro_spacer", Level:=2    BTW. Did not work.

Do I have to create them from scratch and then add them to the Styles List using VBA  before I …
A client has a Ricoh MP3003 printer that they can't print PNGs\Jpegs from Outlook using quick print but can print PDFs and Word docs.

One user is on Windows 7 and can print if the file is saved to the desktop before printing.

The other user on Windows 10 can't print images either way.

The screen hangs on scanning for the printer (see attached)
The Windows 10 user also getsErrorMsg an error: Your pictures can't be printed because this error occurred: An internal error occurred.'
I am trying to embed some content from an excel worksheet into a word document so that when the worksheet is updated so is the word document. It works fine when the files are stored locally on my computer however when I try and do the same thing with files on the file server I get an error "Word cannot obtain the data for the
{00020830-0000-0000-C000-000000000046} link." I am trying to get this figured out but have hit a dead end.

Additionally, the issue seems to be limited to Windows 10 as Server 2012 and Windows 7 don't appear to have the same problem.
My organization uses Enterprise Connect (content server) to save documents.

I'd like to be able to open the Enterprise Connect Save As Dialog box by code. I'd be happy to get this far.

Ideally, if i did open the Enterprise Connect Save As Dialog box, I'd like to paste the contents of the clipboard into the "Name" box. I don't need to do anything just then.

I've identified that Enterprise Connect is a ComAddin, but I'm really out of my depth outside of that. Has anybody got any idea?

Sub ShowSaveAS

    Dim oCAI As COMAddIn
    Dim obj As Object
    For Each oCAI In Application.COMAddIns
        If oCAI.ProgID = "UCOfficeAddin.Connect" Then
            Set obj = oCAI.Object
            Exit For
        End If
    Next oCAI



end sub

Open in new window

This affects Macs in our environment running OS Sierra, and Microsoft Office 2016.  The users are using Microsoft Word, and in their Word documents they embed images by dragging the image from the desktop and onto the document; they then resize the image and position it where they want, in the document.

The issue is that after saving the document - at some point later, they open the document and find the images are gone, replaced with a empty frame that has a red X, and text that reads: The image part with relationship ID rld8 was not found in the file.

I've searched for possible answers and most Microsoft articles at address a similar issue in Powerpoint and say that it is a problem that affected specific versions of Word for Mac; we're on a later version and the problem persists.
Everyone in our organisation has a Delve profile, and we want to link directly to these from other locations or documents. The first difficulty we had was in coming up with a link that we could easily modify/replicate - the standard form url looks something like:,*** Email address is removed for privacy ***&v=profiledetails

This will open from an internet page or a website, but if I try to link from a Word document, not only does it not work, but it also gives me an enormously frustrating error message which consists of a cartoon cat and a correlation id, also i can see that the link got redirected,

Redirected as :
Something went wrong :(
Correlation Id: 7eecefc7-7f0e-458d-a66d-47387873a125

In Internet Explorer, after adding "" link to trusted site resolved the issue, but when the Chrome is set as default browser we still have the issue.
Does anyone have a solution to this issue, kindly help me as soon as possible

So i have a SharePoint Word Doc that has a jpg. When i look at it in Word Online (Office 365) the image is shifted to the right. I see the margin on the left but no margin on the right. When i view it in the Word App it looks correct (e.g. it's centered and takes up the full page).
I have the attached "GoTo Page" application that lists the pages in the current document in a picklist. I have to load the userform modelessly because I have to have access to the document during runtime the whole purpose of the application is to move around the document). But modeless makes the cursor default to the document; I want it to default to the first item in the picklist - and preferably to select that first item - while still allowing access to the document. The reason for this is that when one opens the application, he obviously wants to go to a specific page, so it's logical for the cursor to default to the picklist and select the first item so all he needs to do is type in a page number without having to click in the picklist. I've tried various ways to do this, including  "setfocus" but none of them do the trick.

Any ideas on how to achieve this?
I have multiple word documents in a directory. I need to find and be able to compare at least two strings of text. One string of text will always start "Date of Exam: mm/dd/yyy hh:mm" The other string will always start "Dictated by: Doctor C. Smith, M.D. on 08/31/2018 at 16:30" There may be times when there are multiple "Dictated by" lines. I need the script to look through each document for those two strings and report back the filename and those two lines. Output can be a CSV or whatever is easiest. Right now, I can get a CSV, but I have no headers and if there are multiple "Dictated by" lines, it puts all of them in one cell. I want separation for each find. I'm even open to having the script prompt for the "Dictated by" date.
 Here is the code I have so far:
    $date = (Get-Date(Get-Date).AddDays(-0) -Format 'MM-dd-yyyy')
$today = Get-Date -Format ''
$yesterday = (Get-Date(Get-Date).AddDays(-1) -Format 'yyyy-MM-dd')
#Get the files
$Files = @(Get-ChildItem D:\reports\dr_reports -Filter *.doc -ErrorAction SilentlyContinue -Force)

#Go through each file and write it to csv
            Get-Childitem -Path "D:\reports\dr_reports\archive\$yesterday\" | ForEach-Object {
            $raslodate = Select-String -InputObject $_ -Pattern "Date of Exam:" | ForEach-Object {$_.tostring().split()} | Where-Object {$_ -match "\d\d/\d\d/\d\d\d"}
            $dictatedate = Select-String -InputObject $_ -Pattern "^*Dictated\s+by\s*:?\s*(.*?)\s*\Z" | 

Open in new window

I was given a small data entry job in which I had to type 134 pages and I had to do this in a specific software. Problem is that I typed almost 79 pages in MS-Word and I came to know that the software which that guy gave me does not support Copy/Paste. Is there any way I can copy the text from my Word file and put it in that software. Help me out I need to submit the assignment within 7 days and I can type all those 79 pages plus remaining 55 pages in 7 days.
this software generates (.ASK file). and  it is a offline software.
THE FILE TYPE IS " ClickOnce Application Reference (.appref-ms)"
We have found a number of Word and Excel documents on the network with passwords. The employees that created them are no longer with the company. Are there any resources for disabling the document passwords so that we can see the contents? Some of these documents contain valuable documentation.

How can I set my Word to keep a word in left side and another word in right side of the page. I know I can keep adding space or add 3 columns and put each word in each column (leave the middle empty)... but I'm sure there is simple to set it.

After a table draw in the Microsoft Word of Office 2016, any two cell merge cells in the middle of the table, cursor can not be inserted into the merged cell and if the merge then any text in that cell is deleted. But this is not the problem in office 2013. This problem is only in Office 2016. The cursor enters the merge cells in Office 2013, but why is the cursor not entering the office merged in Office 2016?
Anything opened in the browser or any SW i.e. Excel Word packages, although closed prior to the system being shut down, is auto-opened when powering back up - looks like recovery files functionality. Why is it defaulting to this and what to do to correct, many thanks,
Trying to print multiple copies of one page pdf to our copier and no matter how many copies i print it only prints 1 copy.
This printer is installed through our server \\server. I dont want to add this printer directly.

Things I tried:

- Other application like word printing multiple copies - Works
- Uninstalled Adobe reader DC and resinstalled - Same issue
- Deleted this printer and readded this printer from \\server
- While troubleshooting I placed the Print queue small window on the side and watched, as I click print, it only shows Copies Column - 1  
- Checked other users in the office with same windows 10 os and same printer installed through the server - no issues printing pdfs multiple copies

What could be causing this issue, for Adobe Reader DC to only print 1 copy even though I am selecting multiple copies  ?
What else can I try ?

Is there a way to run a short macro every time a new message, or reply message, is created in Outlook?

I would set default tab to 0.25" instead of 0.50; I understand that it is not possible to do this via the underlying MS Word template.
I have some specific questions relating to Excel vba, Word vba and MailMerge.

My questions are:
1. I can get this instruction to work from Word vba:
ActiveDocument.MailMerge.Fields.Add Range:=Selection.Range, Name:="FirstName"
I can access a Word document from Excel vba, however this instruction fails. So my question is can this instruction
be issued from an Excel macro?

2. From Word it is possible to format the output of a MailMerge field using Toggle Field Codes. How can this be done from a vba macro? I have managed to do it using find and replace but surely there is a better way?

3. From an Excel macro I can invoke a simple Word macro, with code like:
Set WD = CreateObject("Word.Application")
WD.Run "runTxtConversion", txtFile
For me this works fine so long as there is only a single Word document open.
How can I make it work if there are multiple Word document?

I would be grateful for either direct answers or references to books or on-line documents that can answer my questions.

Many thanks,

 I have a situation where Windows 10 fails to return a complete search result from a mapped/network drive that consists of mainly Word, PDF, Excel documents.
 I re-created index on SBS2011 server to see if it would make a difference, but to no avail.
 Some words seems to return a more complete result than some other words. it is just very inconsistent from word to word that is used in search.
 is that what we can expect or is there a way to fine tune it?

How to check a paragraph that it contain both paragraph style and character style in it.

Sample document is attached herewith.

We have to check that paragraph style "ref" and  character style is "Volume" exist in the document using VBA macro.


What I am trying to achieve here is to create a word template file, which once moved to the "C:\Program Files\Microsoft Office\Office15\STARTUP" folder add a new tab/ group and icons which are assigned to the macros(which simply open document templates.

to this point I know how create a new tab/group and assign macro to it, also know using the organizer we can copy the macro to template and move it to the above folder.

I just don't know how to copy the ribbon settings in the template aswell.

Any help is appreciated.

Thank you.

Microsoft Word





Microsoft Word is a commercial document editing program that is part of the Microsoft Office suite. It features numerous text-editing tools for creating richly formatted documents, along with tools for the use of macros in Word documents. Word's native file formats are denoted either by a .doc or .docx file extension. Plugins permitting the Windows versions of Word to read and write formats it does not natively support, such as the OpenDocument format (ODF) are available. Word can import and display images in common bitmap formats such as JPG and GIF. It can also be used to create and display simple line-art.