Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 05-21-2020, 04:58 AM
jayevan4 jayevan4 is offline Auto populate building block autotext on dependent drop down exit Windows 10 Auto populate building block autotext on dependent drop down exit Office 2010
Novice
Auto populate building block autotext on dependent drop down exit
 
Join Date: May 2020
Posts: 4
jayevan4 is on a distinguished road
Default

I did view Mightymegs post preceding mine, as well as ran some additional searches, but they weren't specific to using building blocks. In fact, the first thing I used was a tutorial I found on what looks to be your website "https://gregmaxey.com/word_tip_pages/content_control_magic_dropdowns.html" which was a great starting point. However, calling myself inexperienced with VBA would be an understatement - this is the first time I am using it.

I used the code in the tutorial section titled, "Display Defined Value" which I got working; however, I realized the pre-defined text was too large and getting cut off, so I continued on to the "Display a Pre-defined Building Block" section and copied the code there, and tried to modify the existing code to be tailored to my document. It worked for the first two, but when I added additional lines as I need 7 total drop down options, I was getting errors.

Thank you for replying with the code you provided, but as a total beginner here, can you provide any additional detail on what parts of that code I need to change to fit my document? I can see the part that says (BBName) which is where I am assuming I change to the title of the building blocks I have saved, but otherwise I'm lost.

Thanks again
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto populate building block autotext on dependent drop down exit auto populate multiple text boxes dependent on a drop down angelaschultz Word VBA 7 03-18-2017 03:00 PM
Auto populate building block autotext on dependent drop down exit Auto Populate Text On Dependent Drop Down Exit GregStewartPTC Word VBA 2 02-27-2017 05:37 AM
Auto populate building block autotext on dependent drop down exit How to populate dependent dropdowns and auto-fill text fields simultaneously? vera Word VBA 1 10-07-2016 07:41 PM
VBA Word - Building Block (AutoText) - Array - Replace Text with Specific Building Blocks jc491 Word VBA 7 01-03-2016 10:34 PM
Building blocks show correctly in dropdown, but wrong building block populates in doc wordgirl123 Word 0 10-03-2013 08:30 AM

Other Forums: Access Forums

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