Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2018, 05:18 PM
lisa99 lisa99 is offline Linking fields using DOCVARIABLE Windows 10 Linking fields using DOCVARIABLE Office 2016
Novice
Linking fields using DOCVARIABLE
 
Join Date: Jun 2018
Posts: 2
lisa99 is on a distinguished road
Question 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.
Reply With Quote
  #2  
Old 07-01-2018, 12:13 AM
gmayor's Avatar
gmayor gmayor is offline Linking fields using DOCVARIABLE Windows 10 Linking fields using DOCVARIABLE Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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
Reply With Quote
Reply

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 using DOCVARIABLE Linking fields to pull values from one field to another KWH Word Tables 3 01-27-2016 02:25 PM
Linking fields using DOCVARIABLE 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

Other Forums: Access Forums

All times are GMT -7. The time now is 07:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft