View Single Post
 
Old 02-03-2023, 10:29 PM
gmayor's Avatar
gmayor gmayor is offline Windows 10 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