#1
|
|||
|
|||
Linking fields using DOCVARIABLE
Hello fellow forumites. Trying to figure out how to automate word. I saw that someone has DOCVARIABLES which are linked to Excel fields and I am trying to figure out how he did it.
The reason I don't want to use paste link is that it uses a row/column reference and if a row or column are added it messes the other fields. Basically, the fields look like this: { DOCVARIABLE "Address" \* MERGEFORMAT } Now with the above field inserting rows and columns does not make a difference. |
#2
|
||||
|
||||
Presumably 'someone' has used a macro either in Word or Excel to populate the docvariable with the data from the worksheet. There is no 'linking' involved.
As for your requirement to automate document creation, then what exactly are ytou trying to achieve. Maybe https://www.gmayor.com/Userform_ComboBox.html will help?
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linking Specific text fields in PP to specific cells in an Excel table | GWRW1964 | PowerPoint | 0 | 02-26-2018 07:37 AM |
Linking fields to pull values from one field to another | KWH | Word Tables | 3 | 01-27-2016 02:25 PM |
Automatic updating / Linking fields / cross referencing | Shaz | Word | 2 | 07-21-2014 09:43 PM |
DocProperty vs DocVariable | ChrisBrewster | Word VBA | 1 | 02-07-2014 02:09 PM |
Linking Text Fields in a document in Word 2007 | lcolson | Word | 0 | 12-22-2008 05:14 AM |