#1
|
|||
|
|||
Inserting Values from a table to text lines within the same document
Hello!
I'm currently working on a template for a survey report. The first page will contain general information about the survey (port of discharge, port of arrival, departure and arrival dates etc.) which will be repeated throughout the text in the report. I have already created the general body of the text. I now wish to have the values added in the table to be populated within the text as the table is being filled. For example: If the General Information table contains Port of Loading : Chile [port1] Port of Discharge : Singapore [port2] Discharge date: 21/01/2021 [date] then I'd like the values "Chile" and "Singapore" to be populated in the below text as I fill the General Info table: "...which had been transported from the port of [port1] to [port2] and discharged on [date]" Now, I don't know VBA programming, but I'm willing to learn to get this to work because it would greatly ease my workload and I can ensure uniform accuracy within my reports. If there are any easier methods to go about this, please do let me know! Thank you! |
#2
|
||||
|
||||
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Take a look at Repeating Data Using Document Property Content Controls and Other Mapped Content Controls. It expands on one of the ideas on Greg's page.
|
#4
|
|||
|
|||
Thank you, everyone, that was quick! I'll have a look at them and get back to you with results
EDIT: This seems to be working beautifully so far, thank you! I'll get back to you folks in case I run into anything complicated. I'd never thought of being a Power User in MS Office, but now that it can be used to ease my paperwork and free up time for more productive pursuits, this is a fascinating skill to master Last edited by nytvsh; 01-25-2021 at 06:42 AM. Reason: Results |
Tags |
table, text, values |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inserting a Merged Row after a certain text is found in a table | Snaybot | Word VBA | 13 | 09-30-2015 03:12 PM |
inserting wordwrap table causes paragraph break in text | sodiumkpump | Word Tables | 1 | 08-05-2015 06:36 PM |
How to create a pivot table with text as values | ljd108 | Excel Programming | 0 | 01-22-2015 07:48 PM |
Inserting Images into a Table Cell without Moving the Text | suzan | Word | 0 | 06-27-2014 05:20 AM |
Inserting landscape Table into Portrait Document | sstark | Word Tables | 2 | 02-13-2013 08:43 AM |