Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-02-2015, 07:18 AM
ptmuldoon ptmuldoon is offline Custom Building Block File Locations Windows 7 64bit Custom Building Block File Locations Office 2013
Advanced Beginner
Custom Building Block File Locations
 
Join Date: Sep 2014
Posts: 93
ptmuldoon is on a distinguished road
Default Custom Building Block File Locations

I'm still learning about Building Blocks, and they seem like a very useful and underused piece of Word.

But I want to keep all of my Building Blocks in a separate custom file, and not either the defaults of the Normal.dotm or Building Blocks.dotx template files.

So, I have create a 'Report Building Blocks.dotm' template file, and have placed this in my Word Startup folder.

And the template shows as loaded when Word Starts. Yet, the file is not an option to save the building blocks too?



Edit. I can't seem to link/attach a shared image on Google drive, but the the custom Report Building Blocks.dotm file show as loaded.

Last edited by Charles Kenyon; 01-03-2015 at 08:42 AM. Reason: Mark as solved
Reply With Quote
  #2  
Old 01-02-2015, 01:27 PM
Charles Kenyon Charles Kenyon is offline Custom Building Block File Locations Windows 7 64bit Custom Building Block File Locations Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

To attach an image here, click on the "Go Advanced" button instead of the button to post, then click on the paper clip.

The image I am attaching shows options for saving AutoText when I press the Alt+F3 keyboard shortcut. It includes a number of files from my Startup Folder.

Is your file actually saved as a template from within Word? Can you call building blocks you have already saved in your template?

Greg Maxey's tools can help when manipulating building blocks. Building Blocks & AutoText.
Attached Images
File Type: png 00 deleteme 0.png (14.8 KB, 23 views)
Reply With Quote
  #3  
Old 01-02-2015, 01:37 PM
Charles Kenyon Charles Kenyon is offline Custom Building Block File Locations Windows 7 64bit Custom Building Block File Locations Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

I just double-checked and in Word 2013 I get the same dialog and choices when going through the Ribbon buttons to save to a Quick Part Gallery.
Reply With Quote
  #4  
Old 01-02-2015, 03:39 PM
ptmuldoon ptmuldoon is offline Custom Building Block File Locations Windows 7 64bit Custom Building Block File Locations Office 2013
Advanced Beginner
Custom Building Block File Locations
 
Join Date: Sep 2014
Posts: 93
ptmuldoon is on a distinguished road
Default

I think i figured it out.

If you take a blank document and save it as a template file and place it in your start folder, the template will be 'active' but will not show in the drop down to add a building block.

But once after I created/added a building block to it with some VBA. The template files does show up in the dropdown list. I could then also delete that 1 block and the template is still available.

So I'm guessing the template file must somehow identify a building block did or does exist to show.

I can duplicate and show some screen shots if anyone want to see what I am. I do have another template in my Start folder does not show in the Building Block drop down, and I assume will should I add a block to it first with VBA.

See below. Notice the 'ChangeLinks' template is not available in the Building Blocks dropdown? I believe it is because that template has never had a BB associated with it. But if I add a BB to the ChangeLinks global template manually via VBA, it would be available.
Attached Images
File Type: gif buildingblocks.gif (16.9 KB, 23 views)
File Type: gif Templates.gif (51.7 KB, 23 views)
Reply With Quote
  #5  
Old 01-03-2015, 07:40 AM
gmayor's Avatar
gmayor gmayor is offline Custom Building Block File Locations Windows 7 64bit Custom Building Block File Locations Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,106
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 of
Default

There is a macro listing on my web site at http://www.gmayor.com/word_vba_examples_3.htm (end of the page) which shows how to insert building blocks no matter where they are stored, that you may find useful.
__________________
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
  #6  
Old 01-03-2015, 08:45 AM
Charles Kenyon Charles Kenyon is offline Custom Building Block File Locations Windows 7 64bit Custom Building Block File Locations Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

One other thought. I try to keep building blocks in purpose-designed Add-Ins or in a document template. That is, building blocks for a particular purpose are stored in a separate template. This makes it easier to organize them. Only if macros are going to be used with them do I store them in .dotm files, otherwise I store them in .dotx files.
Automated Boilerplate Using Microsoft Word
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Building Block Gallery Content function on a form with restricted editing wes228 Word VBA 1 08-28-2014 08:14 AM
how to make building block content control determine bb to display elsewhere jamles12 Word VBA 5 11-16-2013 11:38 AM
Building blocks show correctly in dropdown, but wrong building block populates in doc wordgirl123 Word 0 10-03-2013 08:30 AM
Custom Building Block File Locations How To Find Bookmarks and/or custom fields Inside Building Blocks, Office 2010 thpanos Word 3 02-17-2013 08:49 AM
Custom Building Block File Locations error: You are attempting to save a file format that is blocked by file block setting zatlas1 Office 8 04-28-2012 02:37 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft