+ Reply to Thread
Results 1 to 5 of 5

Word Document Output from Excel Sheet

  1. #1
    Registered User
    Join Date
    09-08-2017
    Location
    United States
    MS-Off Ver
    2013
    Posts
    15

    Word Document Output from Excel Sheet

    I am in the process of setting up an excel spreadsheet where you select various check boxes (in order to select what product you want). At the end of selecting all of your options a price will be created as well as some text with information regarding what options for the product you have selected. Once all of the data has been decided I would like to make it so you can either click a button and a word document will be produced with all of the information regarding your options you selected or have a word document set up that can be opened and all of the information from the excel spreadsheet with be populated in the word document. I am pretty new to using vba, so any advice regarding linking word documents and excel spreadsheets would be appreciated.

    Thank you.

  2. #2
    Valued Forum Contributor meabrams's Avatar
    Join Date
    10-03-2014
    Location
    USA
    MS-Off Ver
    2007, 2010, 2013, 2016
    Posts
    451

    Re: Word Document Output from Excel Sheet

    If you could post sample excel file and word doc so that we have a better idea of how you want this to look
    Bramz

  3. #3
    Registered User
    Join Date
    09-08-2017
    Location
    United States
    MS-Off Ver
    2013
    Posts
    15

    Re: Word Document Output from Excel Sheet

    Quote Originally Posted by meabrams View Post
    If you could post sample excel file and word doc so that we have a better idea of how you want this to look
    I am currently having issues with getting the documents to upload, but here is a general idea of what the spreadsheet looks like:

    Customer Name John Smith
    Company Name Inc
    Date 12.09.2017

    Item Options 1 Price
    Choice 1 5
    Choice 2 10
    Choice 3 15

    Item Options 2
    Choice 1.2 20
    Choice 2.2 25
    Choice 3.2 30

    Total 105 (I'm going to have this total set up so it only includes the numbers where the check boxes have been selected)

    And this is generally what the word document looks like:

    PRODUCT OUTPUT SHEET
    Customer Name
    Company
    Date

    Item Options 1
    Choice # Description Price

    Item Options 2
    Choice # Description Price

    Quotation information:
    Price €

  4. #4
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Word Document Output from Excel Sheet

    If you configure the Excel workbook so there's a worksheet with all the data on one area, all you'd need to do to set the document up for this is to copy & paste the relevant cells to Word using Word's Paste Special tools with the 'paste link' option and the paste format of your choice, then save the document as a template. Coding-wise, all you'd then need at the Excel end is the code to automate Word, create a document from the template, then update & unlink all fields. Optionally, you could also automatically save the Word document generated from the template.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  5. #5
    Registered User
    Join Date
    09-08-2017
    Location
    United States
    MS-Off Ver
    2013
    Posts
    15

    Re: Word Document Output from Excel Sheet

    Quote Originally Posted by macropod View Post
    If you configure the Excel workbook so there's a worksheet with all the data on one area, all you'd need to do to set the document up for this is to copy & paste the relevant cells to Word using Word's Paste Special tools with the 'paste link' option and the paste format of your choice, then save the document as a template. Coding-wise, all you'd then need at the Excel end is the code to automate Word, create a document from the template, then update & unlink all fields. Optionally, you could also automatically save the Word document generated from the template.

    Thank you, I will start working on the code to give this a try!
    Last edited by Schmidiot; 09-12-2017 at 05:48 AM.

+ 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. How to make changes in Word document result in corresponding changes in Excel sheet
    By joebonz17 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-17-2017, 12:54 PM
  2. [SOLVED] Browse Word Document data into excel sheet
    By Parth007 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2015, 07:43 AM
  3. Excel Sheet Problem when Using in Word Document
    By BIGTREV in forum Excel General
    Replies: 0
    Last Post: 03-21-2013, 02:38 PM
  4. Excel Spread Sheet to form word document
    By Screamer in forum Excel General
    Replies: 1
    Last Post: 09-06-2007, 08:24 AM
  5. Output to a Word Document
    By SkyjinksAileron in forum Excel General
    Replies: 1
    Last Post: 11-22-2006, 02:38 AM
  6. Copy rows from excel sheet to a word document
    By ashishprem in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-27-2006, 08:55 AM
  7. Replies: 4
    Last Post: 03-30-2006, 06:55 PM

Tags for this Thread

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