Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 03-21-2022, 07:18 AM
grNadpa grNadpa is offline Cannot save Building Block templates with project Windows 10 Cannot save Building Block templates with project Office 2016
Advanced Beginner
Cannot save Building Block templates with project
 
Join Date: Mar 2022
Posts: 46
grNadpa is on a distinguished road
Default

Thank you, Charles Kenyon. (with, according to your imbedded comment, additional kudos to Timothy Rylatt)
Apparently all that was missing from my code was:
Code:
Application.Templates.LoadBuildingBlocks ' Thank you Timothy Rylatt
Thanks for the links. The "Situation 1" did not work, but Situation 3 did. And after stepping through the Situation 3 code, found that it ultimately resolved to the code I originally posted the exception of the statement you attribute to Rylatt.

Given that I insert the same building block item multiple times in my application, I'm not sure whether to use Rylatt's statement on each insertion or just the first one. But experimentation will solve that issue.

Again thank you so much for your patience and suggestions.
Reply With Quote
 

Tags
building blocks, vba code, word 16.

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to build a custom building block template cos Word 1 12-13-2021 03:43 PM
VBA Word - Building Block (AutoText) - Array - Replace Text with Specific Building Blocks jc491 Word VBA 7 01-03-2016 10:34 PM
Cannot save Building Block templates with project How to share building block macros? rdross51 Word VBA 7 03-12-2015 08:59 AM
Cannot save Building Block templates with project Custom Building Block File Locations ptmuldoon Word 5 01-03-2015 08:45 AM
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 05:34 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