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

I have a userform that I open modelessly because I need to access the document. Its listbox lists all the page numbers of the document, and when I first load the form, I can manually enter a page number in that listbox (and it navigates to that page). But as soon as I click anywhere in the document and then return to that listbox, I can no longer manually enter anything in it. This is not a problem if I load the userform modally, but since is a "GoTo" macro that navigates to and stores pages, its usefulness would be greatly reduced if I had to close the form each time I wanted to enter a page number.

Is there some way around this?
Goto_Page-Application--Test-Aug-31-.docm
0
I'm trying to get the Word Inking feature to start when opening a document.  I have tried the following code:

ActiveDocument.CommandBars.ExecuteMso("InkingStart")

This throws an error on Document Open, running it from a macro and running it from the immediate window.

What am I missing?
0
Hello everyone,

i would like to ask for help here. I work with the attached file. And I need to separate each 2 pages, so I am going to have instead of 1 file with 356 pages but 178 files with 2 pages. Is it possible in some way ? I tried almost everything, but as I am an IT newbie I've been lost since I started. In case you found a way, please tell me or navigate me as the stupidest person on the Earth.


thanks very much
0
A member of staff (senior) wishes to run 1. mail merge using Word but output the results to PDF, and then 2. Email the pdf files out to the recipients?

Any ideas?
0
I recently replaced a users PC, upgrading from Windows 7 to Windows 10 and also from Office 2013 to 2016.  The user creates envelopes in Word obtaining the address from the current Word document he is currently working with.  These documents are all saved on a server.  The issue is that when he clicks on the Envelopes under Mailings, the Window only opens to Envelope Options and not the dialog box that contains the delivery address and return address.  I found a temporary fix that if he clicks on Start Mail Merge and selects Normal Word Document the correct dialog box will appear.  He does not want to have to do this for every document as he works on hundreds of documents a day.  It worked fine in Word 2013.  Any ideas as to what could be causing the issue and what would be a permanent fix.  THanks for the assistance
0
Can anyone help me solve below problem:

I have over 2000 png images saved in different files on my computer. I want to write a VBScript function that does something like go to a particular folder and iteratively copy-paste all the png files in that folder to a PDF file or word document .

1. The header before pasting the png files in the word document should be same as the folder name.
2.  The .png files should be inserted in order of when they got created. That is the first created .png file will be first inserted and the last will be last inserted in the word or PDF file.
3. Upon successful copy of all the .png files in this folder,  the folder should be deleted.

Any assistance if this is possible will be appreciated
0
saving building blocks to a network
0
I have a function that makes my .doc lose functionality, but it works for me in .dotm...
The function is "ActivateReferenceLibrary"; it runs on both the "Document_New" and "Document_Open" stage.
I know it is this function that is causing the issue because when I comment out the call function for it everything works.

Any ideas as to why this is happening? What am I doing wrong?

Thanks!

======================================================================================

Sub ActivateReferenceLibrary() 'Activate Specific Object Libraries via GUID #

  Dim chkRef As Variant
  Dim BoolExists As Boolean
 
    On Error Resume Next
   
    For Each chkRef In VBProject.References
        If chkRef.GUID = "{00062FFF-0000-0000-C000-000000000046}" Then
            BoolExists = True
            GoTo Cleanup
        Else
        End If
    Next
   
Cleanup:

    If BoolExists = True Then
        Exit Sub
    Else
        VBProject.References.AddFromGuid GUID:="{00062FFF-0000-0000-C000-000000000046}", Major:=0, Minor:=0 'This is Outlook GUID
    End If
End Sub

======================================================================================
0
I am facing issue while opening word document from SharePoint through javascript code function Viewdocument3(window,url,readonly,progid) .Can any suggest what Is the requirement for this to run on windows 10 machine
0
I have a 4 page document that I need to page number sequentially. The problem that I am having is that I have 1000 of these 4 page documents which need to be numbered eg. first 4 pages will have 001000, next 4 pages 001001, next 4 pages numbered 001002 etc. etc. How do I solve this problem?

Thanks

Nigel
0
I am a French student intern in a construction company who charge me to create a database linked to pdf documents.
I would like to create a connection between pdf forms filled in to my MS Access database, is it possible without to much programming ?
If it is too complicated, maybe it is possible with forms on word or excel, but I prefer the pdf forms...

Hope to hearing from you soon

Kind Regards
0
Display Issues when remotely connecting to client server using Labtech ConnectWise Control.

Since beginning to use Connectwise to the Server to work in Microsoft Access 2016 I get this odd behaviour with the Property Sheet cascading the image -- and am unable to clear it unless I move to VBA or set the focus outside the application and then return to it.

All the usual graphics settings were changed/reset back, Access settings for Client and Application settings changed/reset back, etc. Client IT support people looked into it and determined it appears to be isolated to Microsoft Access. Word and Excel do not exhibit this behaviour.

Any ideas?? See attached file. Thank you.
Capture.JPG
0
I have some MS Word VBA which runs 10x more slowly when adapted to run within Outlook 2016. I'm hoping someone to help me identify why that might be the case. Aikimark developed the VBA code in this question (which deletes all duplicated paragraphs in a Word document) which I adapted to run on a Message in Outlook 2016. My adapted code is below:

Sub STRIPPER_RepeatedTextParasAikimarkLast()
' Top bit from VB Office Word-VBA-to-Outlook-VBA adaptor.
' Add ref to Word library in VBA Editor, Tools, References
Dim objInsp As Outlook.Inspector
Dim objDoc As Word.Document
Dim objWord As Word.Application
Dim Selection As Word.Selection
   
Set objInsp = Application.ActiveInspector
Set objDoc = objInsp.WordEditor
Set objWord = objDoc.Application
Set objSel = objWord.Selection

'------- Inserted Modifed Word VBA below ---------
    Dim p As Paragraph
    Dim d As Object     'New Scripting.Dictionary
    Dim paratext As String
    Dim i As Long       'Integer
    Dim StartTime As Single
    Dim lngPara As Long
    'Dim lngDups() As Long
    Dim vItem As Variant
    Dim vDup As Variant
    Dim vDups As Variant
    
    Set d = CreateObject("scripting.dictionary")
    
    StartTime = Timer
    
    ' iterate the paragraphs
    lngPara = 0
    For Each p In objDoc.Paragraphs  'In

Open in new window

0
Hi everyone, what tools are commonly utilised by Enterprise to target and collect a paticular staff members data? By data i mean emails, local documents, files and folders, deleted items, downloads. Key word content sweeping, login / logoff details, credentials and passwords. I am the business owner but im being targeted by my business partner and i currently have a litigation case against him before the supreme court. Besides our company he has an IT managed services company and runs my businesses infrastructure. We are using Office 365 Enterprise, domain server and exchange server. My laptop is logging non-stop and many of the logs are hidden and the ones that arent are enough to male me paranoid. I even feel like they have physically been in my machine via Screen Connect client or teamviewer perhaps. There seem to be more and more 'Machine Users' S-1-15-21 DDDAFDEKXTNKWLP type user. And my laptop will suddenly and violently start blinking on and off like a strobe light. Its not the screen or a connector and if i put on Aeroplane mode it stops. Ive run Malwarebites and shows nothing. All drivers and updates are up to date.... help please how can i prptect myself? What am i looking for to detect internal corporate spying locally? Visiual Studio; SQL Server; .NET framework, Power Shell are all running locally on my laptop also. Thanks Rob
0
Is it possible to send an email through Word VBA (0365), where I can add 2 attachments, use a specific email template that is stored on a network drive and have that users signature added to the email template.

I have got several different attempts working using code examples off the net that allows me to send emails but only at the sacrifice of one of the above requirements.
0
I’ve been working on the ‘Delete_All_Bookmarks_in_Selection’ macro so that I can remove all bookmarks in a selected range. It works fine if the selection is outside a table, but if I select only part of the table, it removes more than the bookmarks in that selection.

The attached document contains that macro and a test table whose bookmarks were created with the other attached macro, ‘Create_Bookmark_for_Each_Row_in_Column’
There are six bookmarks- three in each column of the test table. By selecting whole of column 2  and running ‘Delete_All_Bookmarks_in_Selection’ and choosing ‘No’ to delete bookmarks only in the selection, the macro removes all bookmarks in the whole table. I want it to delete only the bookmarks in that selected column.

If I restore all six bookmarks and then select the bookmarked text in row 1 column 2 (‘TestRow1Col2’), run the ‘Delete’ macro and choose ‘No’ at the first prompt, the macro deletes the ‘TestRow1Col1’ and ‘TestRow1Col2’ bookmarks and leaves the others alone. I want it to delete only the bookmarks in row 1 column 2.

I’m using the ‘Selection.Range.Bookmarks’ code to identify bookmarks in a selection, but evidently it doesn’t work properly in a table cell or cells. Can anyone suggest an alternative? Is it practical to loop through the cells in a table selection and delete the bookmarks in the selection that way?
Bookmark-Text-in-Table-Column-Test2.docm
0
Hello, the company has a custom MS Word Macro. I copied the macro from one computer. I saved it to another computer specifically to %Appdata%/Microsoft/word/startup. When I try to run the macro, I got message "run-time error '91':  object variable or with block variable not set. I appreciate your reply :)

I notice I can't open the VBS editor as well from MS Word.

If ever this successfully run, how can I add this custom macro into button at MS Word.
0
Hi Experts,

I want reformat a large word document (1000 pages) so that, wherever in the document the blue text ( as shown in the attachment) is discovered it converts it to a table


The text color should remain as the original, in the document before reformatting.
The font should be as the table
The items next to the blue text differs and should be the second column of the table. The table will be 2 columns and 7 rows.

I have tried to do this, using a macro, which logically i can see is possible but  I am failing...  I would really appreciate your help - Thank you in advance
exmaple.docx
0
I'm creating a Microsoft Word template. The document that will include a list of stated client goals, as a numbered list. Later, in another section, each of those goals will be fleshed out in detail. Now I know that I can create Cross References for each latter section, that will put in the names of the goals in that list. I can do that. But what if the total number of goals isn't known until the document is being generated?

In other words, what I'd like to be able to do is create a template that will allow me to create a numbered list, and then automatically create a sub-section for each item in that list, automatically. Sometimes that list might have 3 items. Sometimes that list might have 8, or 12, or 20.

Is there a way to have the document loop through the number of items in the list, and create the sub-sections on the fly?
0
I'm trying to create a static form in word. I have a table setup with 5 lines that will be for the customers name on the left and their customer number on the right. The names and numbers will be pulled from an Excel source. I have underlined and tabbed all the way across the column and have the variable name underlined as well. However, when it pulls over the name and numbers from the data source, the lines could be shorter or longer, depending on the length of the name or number. I've attached a sample of the Word document. Thanks.
0
I need to insert a file (stored on my computer) in a word doc to be opened from all computers.  I have read the absolute link and read putting the "\" in the strPath variable, but do not understand it.  although it looks as if it would work in my situation.
0
We are using Amazon WorkDocs as storage.  We have a website that processes orders and sends out emails with attached Word documents.  We would like these Word documents to be sent into a specific Amazon WorkDocs location automatically.  

I was thinking I may be able to setup an email filter that forwards these emails to an address provided by WorkDocs, which would save the attachments on that email accordingly.  Maybe wishful thinking..??  I'm just not seeing anything about this, but before I give up on it I figured I'd ask here and see if somebody else has done something like this..??

Any  information on this would be greatly appreciated.  Thanks!
0
I have a MS word document in which I have embedded 3 excel files which have very large sheets which would be too small to read if I copied them into the file.  I have to send it out to third-parties and its been suggested it needs to be controlled better by issueing as pdf or ebook.   This will take a bit more time, but it appears it will still have the problem of needing to reduce the width and height of the sheets to fit in the document.
Any suggestions?
0
HI all,

Could any can tell me how to find out SVG images in ms word using vba.
0
Excel 2016 for OSX crashes when - File - Print (spinning beach ball). Force quit is the only way out.

Word, and Outlook and other applications can print fine.

I have tried:

- Reinstalling printer driver (there is only one printer installed)
- Reset printer system
- Reinstall entire Office package
- Clean cache at  ~/Library/Caches
- Searched for Spywares/Malware/Virus
- Print using another user account and it WORKS

Any suggestions on how to fix this glitch under this user account will be appreciate/

Please see log crash below.

Microsoft Error Reporting log version: 2.0

Error Signature:
Exception: SIG_FORCE_QUIT
ExceptionEnumString: 268435456
Exception Code: 0x00000001 (0x00007fbfda8ce000)
Date/Time: 2018-06-26 08:07:31 +0000
Application Name: Microsoft Excel
Application Bundle ID: com.microsoft.Excel
Application Signature: XCEL
Application Bitness: x64
Application Version: 16.15.0.18062001
Crashed Module Name: merp
Crashed Module Version: 16.15.0.180620
Crashed Module Offset: 0x00000000000036be
Blame Module Name: WLMGraphicsDevice
Blame Module Version: 16.15.0.180620
UnsymbolicatedChecksum: 870920F58C17A622AD73A6AA9A4D5476
Blame Module Offset: 0x000000000001b8fb
StackHash: b0734c937c3fedce-dm_268435456_main
Application LCID: 1033
Extra app info: Reg=en Loc=0x0409
Build Type: SHIP
Crashed thread Stack Pointer: 0x_00007fff5562c3b0
Audience: Production
AudienceGroup: Production
AudienceChannel: CC
Crashed thread: 0


Thread 0 crashed:

#  1  

Open in new window

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.