+ Reply to Thread
Results 1 to 3 of 3

Linked Excel/Word Template?

  1. #1
    Registered User
    Join Date
    05-09-2019
    Location
    Houston, TX
    MS-Off Ver
    365 2019
    Posts
    2

    Linked Excel/Word Template?

    Hey there,



    I was wondering what the best practice is for dynamically linking certain tables from an Excel book to a Word doc, then copying both the Excel book and Word doc to new files, while maintaining the links between the two.



    For example, I need to generate reports for technical studies. The reports are generally similar to one another, except for the data. I have Excel book templates to do the calculations, so I want to keep a report template Word doc, so when I start a new project, I can just copy over the Excel and Word docs to a new folder, rename at least the Word doc, update the inputs to the excel sheet and have it spit out the output tables in the report. I've been testing it out and it seems a bit messy. If I leave the Excel workbook name the same, I get caught in an infinite loop of "Excel can't have two workbooks with the same name open" even when the previous book is closed. If I rename it, then change all the link sources together, it updates the source book but forgets which tables were linked.



    Anyone have success with this? Thanks!

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Linked Excel/Word Template?

    This sounds like a mail merge. If you use your Excel workbook to get the results of a study and the values you want to use in Word can be made available through a table of values where each row corresponds to a particular study, then mail merge is indicated.

    Assuming the assumptions are met, use the following steps:
    1) Use a new Excel sheet ('Data') and transfer to a table the values you want to use in word. The table headers will be the word fields that you will include in the Word report.
    2) Use a Word document with the desired template.
    3) In Word use Mailing to link this file to the Excel file, indicating the 'Data' sheet that contains the table created in 1)
    4) Enter the fields that option 3) provided.

    I hope this helps you.
    Note: The number of fields you can call this way is limited (I assume 256 to register/study).

  3. #3
    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: Linked Excel/Word Template?

    Not possible, sadly. Links from Word documents/templates to Excel workbooks are absolute, so you'd need to change the workbook the document links to each time you start a new one. You can do that via File|Info>Edit Links to files, or you could add the Edit Links button to Word's QAT.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ 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. Excel linked to word
    By Throughstream in forum Excel General
    Replies: 1
    Last Post: 04-14-2017, 03:03 AM
  2. Linked Excel files in Word (2010)
    By pbexcel in forum Excel General
    Replies: 1
    Last Post: 01-08-2016, 06:16 AM
  3. Replies: 0
    Last Post: 08-19-2014, 05:13 AM
  4. Word Template linked with Excel.
    By jmadsen in forum Word Formatting & General
    Replies: 9
    Last Post: 09-26-2011, 05:35 PM
  5. Linked excel in word (multipage)
    By ChrisMattock in forum Excel General
    Replies: 0
    Last Post: 02-09-2011, 09:10 AM
  6. help with linked Excel tables in Word
    By Banaticus in forum Excel General
    Replies: 0
    Last Post: 07-27-2009, 02:55 PM
  7. [SOLVED] Adding a chart to a Word template linked to an Excel doc.
    By Bobbie in forum Excel General
    Replies: 0
    Last Post: 01-03-2005, 05:06 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