Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 01-05-2020, 12:34 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

Any place in the macro you currently have before the line:
Code:
Application.Templates( _
        "C:\Users\cking\AppData\Roaming\Microsoft\Docu  ment Building Blocks\1033\16\Building Blocks.dotx" _
        ).BuildingBlockEntries("OutOfOrder").Insert Where:=Selection.Range, _
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 



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