View Single Post
 
Old 01-09-2015, 05:37 PM
jjfreedman jjfreedman is offline Windows 7 64bit Office 2013
Advanced Beginner
 
Join Date: May 2012
Location: https://jay-freedman.info
Posts: 39
jjfreedman is on a distinguished road
Default

Quote:
Originally Posted by ptmuldoon View Post
I guess you don't actually need to reference an actual variable to add to the building block? You reference a range instead?
That's correct. It's analogous to the way you create a building block manually, where you select some part of the document and press Alt+F3, then fill in the boxes in the dialog. Whatever is in the selected part becomes the value of the building block.

In VBA, the Range parameter is the equivalent of the selection in the document (except that when you use a range you don't visibly select anything).
Reply With Quote