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 this:
ModelRangeFound: InStr([mODEL RANGE],[forms]![Form1].[word].[value])>0

It fails as it picks up the search word anywhere.

I was thinking of using regex to do the search term but how do I tell it to use the found word if its the first or second word only?

"RG125 bike year a6"  fails as it finds as a6 at end
"A6 quattro s line" This is valid

How do I get regex to find the search string but only return true if the search word is at the beginning of the sentence?

I dont know how to make that regex pattern
Amazon Web Services
LVL 13
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Extracted a few hundred quotes from several books.  Many are Theoretical Definitions.  

Need to review them to try to extract some ideas of my own.

Best way for me is to scan through them, adding comments and highlighting key phrases and definitions.

Sample file attached.

Easiest application for me to achieve the editing portion of this work is Word.

Allows me a RANGE of definable styles, and sidebar comments.

Only problem is pagination.  Each extraction of text is just a few sentences, at best a paragraph long.  I’ve re-sized the pages to make them notecard-like.  

Trouble is, there’s no way to get them to paginate like a deck of cards.  What I mean is, frozen in one spot, with the succeeding pages and preceding pages just fulling the same area on the screen.

I’ve tried several work arounds - got some good ideas here:

Even trying ALL of these, eventually, the pages start getting out of phase, and you have page breaks in the middle of the screen.

One WAS close!  Print Preview Edit mode: it does the pagination perfectly, single stable window.  But, you can’t…add comments nor style.  Both of which are crucial as I, hopefully! :D, discover some new ideas within these existing ones.

So, here was my thinking - is there any way to write a Macro that will take either existing Page Down / Page Up keys and program them to always render the next …
The Windows 10 printers are present in Settings | Devices and Printers.
In Word, Excel and Adobe Reader, etc, the printers do not appear.  The Print dialog states "No Printers Installed".
I often copy a web page to the clipboard, then paste it into ms word for further processing.
One particular website often contains many empty text boxes as seen here ee-ms-word-text-box-deletion.docx.

MS Word treats the boxes as Fields, so I wrote the following code to delete these boxes.
Sub DeleteFields()
    Dim rng As Range, sText As String

    For Each rng In ActiveDocument.StoryRanges
        With rng.Fields
            While .Count > 0
                ' sText = .text  ' tried a few variations like .code.text etc but could not find the magic properties to use.
                ' Selection.TypeText sText
        End With
End Sub

Open in new window

I would like to modify the code so that it deletes the empty text boxes and replaces  them with the inner text.

i use the following code that deletes all of these delete
Is there a  way to import outlook 2016 calendar into  word 2016
I have the following code in VBA to return information from an Access Table.

Private Function DBQuery_GetItemSequenceNumber(Optional strParameter As String, Optional strFilter As String) As Long
Dim cQuery As New ADODB.Command
Dim pParam As ADODB.Parameter
Dim rResultG As ADODB.Recordset
    With cQuery
        .ActiveConnection = cn
        .CommandType = adCmdStoredProc
        .CommandText = "qItemsMatch"
        If strParameter <> "" And strFilter <> "" Then
            If Mid(strFilter, Len(strFilter)) = vbLf Then strFilter = Left$(strFilter, Len(strFilter) - 1)
            If Mid(strFilter, Len(strFilter)) = vbCr Then strFilter = Left$(strFilter, Len(strFilter) - 1)
            strFilter = Trim$(strFilter)
            strFilter = Left$(strFilter, 70)
            Set pParam = .CreateParameter("ParaDetail", adChar, adParamInput, Len(strFilter), strFilter)
            .Parameters.Append pParam
        End If

    End With
    Set rResultG = cQuery.Execute
    If Not rResultG.EOF Then
        DBQuery_GetItemSequenceNumber = CLng(rResultG("Sequence"))
    End If
    Set cQuery = Nothing
End Function

Open in new window

This is the design of the Access Query
If I run the query manually, then it works. However, when I pass the content via VBA, there are not results returned. I guess I am passing something the wrong way in the code but can anyone tell me what it should be, please?

Many thanks.
Hello experts,

I have the attached template table template.
The aim is to use on a daily basis.
Is there a way to set format as default if not? Is there a way to create a macro to create the table automatically?

Thank you for your help.
I have a word document where I want to insert a picture using merge field.
The image is coming fine, however I want to control the properties of image, height & width.

The image is being put in word using a software, from web forms.
Can someone tell me how to set properties of image?

Hi Experts,

I am trying to create a mail merge that is output to address labels with a unique Licence Number defined by an Excel file (attached).
I've also attached the .docx file.

My problem is that the Preview of the merge output shows the same Licence Number for each label.

This is what the .docx file looks like:

Mail Merge showing Fields
This is what the merge preview looks like:

Mail Merge Preview
I'm running Office 365.

I cannot see a Next Record option on the menu:

Word 365 Menu
I'm trying to copy text to the clipboard from the command line. If I try something simple like:

ECHO test | CLIP

it works fine and puts the word test in the clipboard. My problem is that I have a special character (specifically an ampersand) in the text I want to copy and it makes the clip utility choke:


If I try the same text without the ampersand, it works fine so I know it's the ampersand that is causing the problem.

I tried using quotation marks like this:


That gets rid of the error but the quotation marks get copied to the clipboard, too.

Any ideas?

Thanks in advance.
Python 3 Fundamentals
LVL 13
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Aren't out of the box Styles in Word (2016) like

Heading 1
Heading 2
Heading 3

auto-updating in terms of font size?  They show themselves to be "Based on Normal"  But, I updated the Normal text size to 18.  Then, started using Heading 1 - it was just 16.  And, Heading 2 just 13.

I even went further and selected both of these with a check box "Auto Updating".

How can I get my Headings 1 ~ x default styles to update themselves in terms of Font Size in Word?



How can I have my MS Word document apps open in the same location and size as it was last open.  I have to open a whole bunch of word documents but every time I open one it always to the left side (never the same place) - i would like to set the Microsoft Word apps to open in a specific side and size.  is that possible?
We are having a strange issue when we try to add a network printer to a Windows 10 1903 machine. We are adding a shared printer from a 2008 R2 print server, it does not seem to matter what print driver is on the share. When we double click on it it does add it since you can print from Word and Notepad, but it does not show up in "Devices and Printers" or "Printers & Scanners"

We noticed this on our customized image, so we tried hand loading a 1903 machine without any other software and still the same issue. We also hand loaded a 1709 desktop and on there, everything worked as is should. It seems the problem is only occurring on 1903

Has anyone else ran into this?

Word 2016 Reading View disabled editing in most recent version.

Is there any hack / registry hack / add-on that can bring it back?


Hi, I have just noticed that when I try to make Firefox smaller by clicking on the center (square) type icon on the upper right, it just kind of re positions the full screen but does not make it smaller.  I tried it on Chrome and it worked just fine as well as Excel and Word.  I want to have an excel document take up the left half of the screen while I look stuff up in Firefox on the right side of the screen.  I've never run into this before and would appreciate your help.

I am bringing in an xml file into word to create a report. This is being done using a plugin from oracle called BI Publisher.  I believe you do not need to be familiar with this to answer my question.

The field I am trying to display is a blob - Employee Photo. In Microsoft word's properties the text form field is a 'regular text with maximum length - unlimitted.

The image is being displayed in a column of a table.  When the employee has no photo, huge blank spaces result. ie the table rows span many pages with no data.

The xml handling this field, employee photo,  in the plug is :
 <fo:instream-foreign-object content-type=”image/jpg” height=”70 px” width=”55 px”><xsl:value-of select=”B.EMPLOYEE_PHOTO”/></fo:instream-foreign-object>

So my questions are :
1. Should the Blob be interpreted as numeric or text?  When I change the photo field to numeric, the report format is fine.  However, you get the photo displaying with numbers and people without photo's are blank but do the table rows spanning many pages.

2. Can I wrap the xml statments to ignore displaying  B.EMPLOYEE_PHOTO is blank and how would I do this?

Thanks, BrockThis is the field placements.  You see the postion of the Employee photo in yellow highlightsThe xml code behind the Employee photo fieldThe actual field coming in from the xml fileWhat the report diplays like when the employee photo is numericWord showing type of field
I am trying to search a document for numbers that could be anything from 1 (or 1.) to 999.999.999.999.999. Is there any way that I can do this, say using wildcards, without needing to use several passes?

Thank you.

Using Word 2010.  Need code for inserting the document filename and path (c:\docs\document1.doc) on the left side and date and time on the other side of a footer but only on the last page of a document.  Using 8-pt. Times New Roman.

Goal is to have a toolbar button for users. I know nothing about VBA.

I would like a solution simmilar to this post but with the addition of the date and time right justified:

Thank you!
Making Collapsible Regions in Word Mac 2019

I can not find how to do this simple task. So many other versions of Word...

I need to configure regions and give titles.

Become a CompTIA Certified Healthcare IT Tech
LVL 13
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Does anyone know if the Azure Information Protection labels work on the MAC OSX version of Word, Excel and Outlook?  We have Microsoft Business 365 and I'm trying to see if our mac users can utilize the security encryption features.
I have a text box in my word document that I'd like to float and scroll with me as I scroll down the page.  Is this possible?  I'm using Word 2016 for Mac.  Thanks.

I am copying over pages of OneNote (version 2016) to Word 2010 to prepare an extended document.  I have noticed that when copying over, the indents/bullets are off (not all the times, but most).  Can an expert help on how to properly copying OneNote pages to a word document as precise as possible preserving the OneNote bullets and indents locations.
Need to create a macro that will search through a word document and change numbers to a different number format based on their original value. The macro has to be able to search through the entire document and only update the exact number with the change - not any other variant of the number (e.g. change 1.00 to 0001 but do not change 11.00 to 10001 - NOTE: 11.00 should change to 0011 instead). So - I want to search for specific numbers and change them throughout the whole document. The numbers are sequential, but I do not want earlier numbers to change numbers later in the document (see previous example).

There are words associated with each numbered row - see bottom of attached file.

Good day,
We have a VM host that runs two server machines.  The first is the DC/FS and it works great.  The second machine is a terminal server.  It constantly is freezing on the users and it is getting frustrating.  Here is some info:

Host machine is running Server 2016 Standard.  Its specs are:

HPE Proliant DL380 G9
Xeon E5-2620 v3
RAID 10 for the virtual disks

Server is stable, no issues.

The host machine allocates a large portion of RAM to the DC and the TS.  The DC currently has 8GB and 8 virtual processors.  The TS has 10GB RAM, and also 8 virtual processors.  Originally I had the TS with less RAM and processors, but in trying to fix the freezing issue, I increased the resources.  I plan on bringing them back down.

The TS has only 3 users signing in.  They use the same domain account to log in to the server.  The TS is configured to allow the same user to log in multiple times.  It is light usage.  The TS exists to run only one program.  While using that program, the users may open Word or Adobe, but not much of anything else.  About 4 or 5 times a day, the server just stops responding to that user.  The other users logged in do not experience the same.  It will just spin and spin.  The remote connection never breaks.  Frustrated, they just click the x on the top blue ribbon, and re-log back in.  Then its totally normal until it freezes again.  

During the freeze, the internet is working normally, the others users aren't affected.  A VPN …
eg when you paste from a certain webtsite that the Apple is green it pasted as


this is word 2007

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.