Microsoft Word

28K

Solutions

21K

Contributors

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

Using Word 2019 (for Mac) Need to set a word's color

I have a word that repeats hundreds of times and in dozens of point sizes. But I need to make every instance of that word the same color.

What kind of automation is there for that?

Thanks.
0
Starting with Angular 5
LVL 13
Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

Issue: When I output a binary file that is being pulled from SQ server, no matter the different variations of the code below, I get this popup error from Microsoft Word.

I click ok, and the complete document DOES come up in Word. I tried with several other files and works every time. I need to get this popup to not come up.  (see attachment)
Issue-10-15-19.docx
0
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
0
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: https://www.experts-exchange.com/questions/29158467/Word-2016-Reading-View-Workaround-to-Enable-Editing.html

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 …
0
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".
0
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()
    ' REPLACES ALL TEXTBOXES WITH VALUE
    Dim rng As Range, sText As String

    For Each rng In ActiveDocument.StoryRanges
        With rng.Fields
            While .Count > 0
                .Item(1).Select
                
                ' sText = .text  ' tried a few variations like .code.text etc but could not find the magic properties to use.
                
                .Item(1).Delete
                
                ' Selection.TypeText sText
            Wend
        End With
    Next
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
0
Is there a  way to import outlook 2016 calendar into  word 2016
0
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.
0
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.
Table-template_20191002_114803.docx
0
Hello,
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?

Regards,
A
0
OWASP: Forgery and Phishing
LVL 13
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

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
Regards,
Leigh
CIRCLY-Licences.xlsx
CIRCLY---Dongle-Label---v5--14-up--.docx
0
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:

ECHO http://wwwapps.ups.com/WebTracking/track?track=yes&trackNums=1ZV300F20358346597 | CLIP

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:

ECHO "http://wwwapps.ups.com/WebTracking/track?track=yes&trackNums=1ZV300F20358346597" | CLIP

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

Any ideas?

Thanks in advance.
0
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?

Thanks!

OT
0
Hi,

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?
0
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?

Thanks,
0
Word 2016 Reading View disabled editing in most recent version.

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

Thanks!

OT
0
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.
Thanks
0
Hello,  

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
0
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.
0
Build an E-Commerce Site with Angular 5
LVL 13
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

Hello,

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:

https://www.experts-exchange.com/questions/22048617/VBA-macro-for-simple-last-page-footer.html

 
Thank you!
0
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.

Thanks
0
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.
0
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.
0
Hello,

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.
0
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.

Thanks
0

Microsoft Word

28K

Solutions

21K

Contributors

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.