Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 01-09-2015, 05:22 PM
ptmuldoon ptmuldoon is offline Referencing FieldCodes in VBA Windows 7 64bit Referencing FieldCodes in VBA Office 2013
Advanced Beginner
Referencing FieldCodes in VBA
 
Join Date: Sep 2014
Posts: 93
ptmuldoon is on a distinguished road
Default

Quote:
Originally Posted by jjfreedman View Post
The code changes I suggested do put the LINK field inside the building block -- have you tried it?

The key point is that the Selection must include the LINK field (or the visible chart that appears when the field is updated) at the time you create the building block. Your original code and the copy of it in your latest post don't do that -- the LINK field is outside the Selection because you collapsed the Selection and didn't expand it again after adding text.
I'll be honest, and hadn't tried what you posted till just now, and I'm still confused by how it works.

I guess you don't actually need to reference an actual variable to add to the building block? You reference a range instead?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using FieldCodes, AutoText, BuildingBlocks ptmuldoon Word 5 01-02-2015 01:33 PM
Auto referencing SharkAttack Word 5 02-17-2013 07:09 PM
Referencing darksupernova Word 4 11-08-2012 03:37 AM
Multiple referencing SPRITEtoo Word 3 01-29-2012 07:39 PM
Cross referencing maltesedog Word 0 02-13-2009 07:43 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:31 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