Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-03-2023, 10:29 PM
gmayor's Avatar
gmayor gmayor is offline How to go from static external data source in a Docvariable to userform input of dynamic text & date Windows 10 How to go from static external data source in a Docvariable to userform input of dynamic text & date Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,138
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 ofgmayor has much to be proud of
Default

The example from my web site is very old and demonstrates a way to populate a userform from an external table. Personally I would now use content controls (which were not available when I created that particular example) to populate the document. The code to populate content controls is listed on that same web page.

If you want you can use text boxes for user input and write the values to the content controls and similarly you can read the contents from the controls back into the user form for editing.

My friend Greg Maxey has several examples for userform creation on his web site that should help you get the results you require.
Microsoft Word Help, Tips and Tutorials @ The Anchorage
__________________
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to Save as Text to External Data Source Directory Baiano42 Excel Programming 2 06-29-2019 09:42 PM
Userform with Multiple Cascading Drop Down Lists Populated with External Source Data venganewt Word VBA 21 05-16-2018 02:05 PM
How to go from static external data source in a Docvariable to userform input of dynamic text & date Excel data linked to external source Doug Needham Excel Programming 1 09-15-2015 05:14 AM
How to go from static external data source in a Docvariable to userform input of dynamic text & date vba change external data source excelledsoftware Excel Programming 1 07-17-2012 04:22 AM
How to go from static external data source in a Docvariable to userform input of dynamic text & date Refresh of data from external source Jirik61 Excel Programming 3 07-13-2012 01:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:28 PM.


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