Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 12-13-2012, 03:14 PM
macropod's Avatar
macropod macropod is offline Cross Reference to Content Control Windows 7 64bit Cross Reference to Content Control Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,383
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Brent,

The Content Control/STYLEREF combination works fine for me. Of course, the STYLEREF field must be located in the document header/footer. No vba required.

Also, rather than relying on content controls, bookmarks, cross-references and/or STYLEREF fields, I'd suggest you consider populating custom document properties with your userform (which makes it easy to read back the properties into the userform when the document is re-opened) and combine those with DOCPROPERTY fields wherever you want to custom document property values to appear. With this approach, you don't need duplicate custom document properties for each time a value from the userform is to appear - simply add another DOCPROPERTY field to the document pointing to the same custom document property.

The attached document (cobbled together for a different query) uses content controls to populate a series of custom document properties, and DOCPROPERTY fields to replicate those values. The principle is the same for use with a userform.

PS: Please don't multi-post the same question. I've deleted the separate thread.
Attached Files
File Type: zip CCtrl DocProp.zip (32.8 KB, 166 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross Reference to Content Control Need help with using bookmark and cross-reference mpdsal Word 1 07-26-2012 01:05 PM
Cross-reference problem Marineboy Word 2 08-05-2011 03:37 AM
Cross Reference to Content Control How to control the caption and their Cross-reference? Jamal NUMAN Word 1 04-10-2011 03:23 PM
2 figures cross reference mmdmov Word 0 05-05-2010 09:12 AM
How do I return from a cross reference? smoggymark Word 0 10-21-2008 07:45 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:03 PM.


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