+ Reply to Thread
Results 1 to 9 of 9

Calling up and Printing a MS Word Document from within Excel Worksheet

  1. #1
    Registered User
    Join Date
    08-05-2017
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    33

    Calling up and Printing a MS Word Document from within Excel Worksheet

    I have an Excel generated Quote Form and when printing the completed quote form I also need to print a MS Word Document named Terms and Conditions. Is there any VB code that will do this and where would I put the code.

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Calling up and Printing a MS Word Document from within Excel Worksheet

    There are quite a few hits on google. Here is an example: https://stackoverflow.com/questions/...sing-excel-vba
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    08-05-2017
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    33

    Re: Calling up and Printing a MS Word Document from within Excel Worksheet

    I have read this example and many others but none of them explain how and where to put this code. I have inserted the code into "This Worksheet" but it doesn't work.

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Calling up and Printing a MS Word Document from within Excel Worksheet

    Add that code in a standard module like
    Please Login or Register  to view this content.
    and then, in your macro that prints the form from excel, add this line after printing:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-05-2017
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    33

    Re: Calling up and Printing a MS Word Document from within Excel Worksheet

    There is no Macro used for printing the quote.

  6. #6
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Calling up and Printing a MS Word Document from within Excel Worksheet

    Upload a sample. To upload: GO Advanced - Manage Attachments -

  7. #7
    Registered User
    Join Date
    08-05-2017
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    33

    Re: Calling up and Printing a MS Word Document from within Excel Worksheet

    Both Excel and Word file uploaded.
    Attached Files Attached Files

  8. #8
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Calling up and Printing a MS Word Document from within Excel Worksheet

    Assign first macro to a button and change the red colored parts:
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    08-05-2017
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    33

    Re: Calling up and Printing a MS Word Document from within Excel Worksheet

    Thanks Paul, I will test it at work tomorrow (Wednesday).

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. copy worksheet from excel to word document
    By KAPearson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2014, 05:50 AM
  2. Link Data between a word document and a excel worksheet.
    By citadel-maritime in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-26-2013, 02:16 AM
  3. Paste large excel worksheet into word document
    By amyinmd in forum Excel General
    Replies: 1
    Last Post: 02-23-2009, 10:29 AM
  4. How do I enter like a Word document in an Excel worksheet
    By ywc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-01-2006, 04:25 PM
  5. [SOLVED] Printing Problem in Word Document Created from Excel VBA
    By Jim Skrydlak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2006, 02:00 PM
  6. [SOLVED] printing word art on an excel worksheet
    By dino in forum Excel General
    Replies: 1
    Last Post: 11-08-2005, 12:28 PM
  7. [SOLVED] Problems printing a word document with linked excel tables.
    By jcarlos in forum Excel General
    Replies: 0
    Last Post: 08-30-2005, 11:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1