Useful Hacks, Reviews, Tips and Tricks of anything under the moon and the sun.

Printing All Open Documents in MS Word

10 comments
Arrived at the office at 7AM. Open up my corporate email, sipped a coffee then started reading... The first email was from Michael Kent and here what he wrote me:


Sir,
Good Morning! Do you know a way to print all open documents in MS Word? It to tiring to manually switch between documents and then choosing to print each one.
Thanks in advance.
Mike


As usual the office hacker must go to work. Unfortunately, MS Word don't have existing function to do this so I suggested that he use Macro. Since he is not familiar with it, I took the liberty to elaborate.

1. Select one document from all open documents
2. Click Tools Menu then select Macro and click Macros... (the one with green play button)
3. On the Macro name textbox, type your desired name such as PrintAllOpenDocument then click "Create" button. See screenshot below:

Create MS Word Macro

4. The Microsoft Visual Basic Editor will open. Copy and Paste the following code between "Sub PrintAllDocument()" and "End Sub".


For Each Doc In Documents
Doc.PrintOut
Next Doc


It should look like this:

MS Word Visual Basic Editor Macro

5. Now Save it using the menu File>Save Normal or click the save button on the toolbar. The Close the editor.

6. Back to your document. Click Tools>Macro>Macros.
7. On the Macros dialog box. Select the macro we created earlier then click "Run" button as shown below:

Printing All Open Documents in MS Word using Macro

Whew. We're done! Your open documents should be printing now.

10 comments :

  1. Hi sir.Thanks for this code.Iwas wondering could you help me with this questino.Its for my work.
    I have over 100 document that i open at once.I would like it if it is possible to make code for macro to print all documents at once and closing them after printing (or just close MS word) without saving

    ReplyDelete
  2. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. document output solutions

    ReplyDelete
  3. PDF (Portable Document Format), likewise PC clients to view and print reports which have been downloaded from the web. https://change-pdf-text.com/

    ReplyDelete
  4. This strategy is applicable to printing a company profile brochure as well. Today many companies print brochures in large quantities at an offset printer.medijo

    ReplyDelete
  5. A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Open Mic

    ReplyDelete
  6. There is a wide scope of various styles in several shading combinations to suit most clients necessities. הדפסה על מוצרים

    ReplyDelete
  7. These tops can be printed with up to four hues or weaved up to six hues.הדפסה על מוצרים

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. Your report has established helpful to me. It is extremely educational and you're clearly really educated in that area. You've exposed my eyes to different opinions with this subject with fascinating and stable content. hp 6970 install

    ReplyDelete