Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-04-2020, 07:47 PM
gmaxey gmaxey is offline Code line for adding Building Blocks to a macro in Visual Basic Windows 10 Code line for adding Building Blocks to a macro in Visual Basic Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

You need to add this line of code before you attempt to insert the building block:



Templates.LoadBuildingBlocks
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #2  
Old 01-05-2020, 09:42 AM
proking proking is offline Code line for adding Building Blocks to a macro in Visual Basic Windows 10 Code line for adding Building Blocks to a macro in Visual Basic Office 2019
Novice
Code line for adding Building Blocks to a macro in Visual Basic
 
Join Date: Jan 2020
Posts: 5
proking is on a distinguished road
Default

Quote:
Originally Posted by gmaxey View Post
You need to add this line of code before you attempt to insert the building block:

Templates.LoadBuildingBlocks
OK that looks similar to the line I had been told before that I lost. I am having trouble finding where to add it. I tried several places, and so far noithing has worked. Am I missing something on how to add it?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Code line for adding Building Blocks to a macro in Visual Basic Macro to list building blocks yacov Word VBA 11 12-09-2019 06:13 AM
Need help with Visual Basic for Presentations to make a Macro Edward222 PowerPoint 0 05-30-2017 03:13 PM
Problem batch adding autotext using Greg Maxey's Building Blocks Add-In Genuine Gin Word VBA 5 12-16-2015 10:20 AM
Building blocks show correctly in dropdown, but wrong building block populates in doc wordgirl123 Word 0 10-03-2013 08:30 AM
Code line for adding Building Blocks to a macro in Visual Basic Visual basic code for Word 2003 template KateAus Word VBA 4 09-09-2012 08:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:42 AM.


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