Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 08-27-2014, 10:32 PM
gmayor's Avatar
gmayor gmayor is offline Trying to populate Word bookmarks with excel UserForm Windows 7 64bit Trying to populate Word bookmarks with excel UserForm Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,137
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

There are several issues. 1. If others are going to use this document, ensure that you change the font on your userform to a standard font, for if the font is not available (it's not here) the display is truly dreadful. I have made some changes
2. The issue with populating the bookmarks is frankly never going to work as you have it. Better to assemble the values from the userform and write them all to the end of the document - addressed!
3. Check boxes make more sense than list boxes for yes no choices.
4. The code for opening the document needed some work.
5. And most important of all, if you want to repeat the data, you can't run a command from the form if you have already unloaded the form. Much better to run the code outside the form as shown in the attached.
I think that should get you started
Attached Files
File Type: xlsm Sample Parent Contact Log.xlsm (70.6 KB, 74 views)
__________________
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
Cross Referencing Bookmarks populated from a userform Word 2010 arbluecreek Word VBA 6 06-05-2015 05:29 AM
Update Bookmarks from a Userform alshcover Word VBA 12 01-12-2015 06:53 PM
Trying to populate Word bookmarks with excel UserForm send a string from Excel UserForm to Word saltlakebuffalo Excel Programming 1 02-10-2014 11:01 PM
Trying to populate Word bookmarks with excel UserForm Auto Populate Word From to Excel File webber Word 1 10-02-2013 02:52 PM
How do I use an Excel form to populate and Excel spreadsheet apostht Excel 0 05-21-2006 11:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:03 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