Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-12-2011, 09:34 AM
skarden skarden is offline Word 2003 - IncludeText Does Not Include Bookmark Text if in a Form Text Control Windows XP Word 2003 - IncludeText Does Not Include Bookmark Text if in a Form Text Control Office 2003
Novice
Word 2003 - IncludeText Does Not Include Bookmark Text if in a Form Text Control
 
Join Date: Dec 2011
Location: Orlando, FL
Posts: 13
skarden is on a distinguished road
Question Word 2003 - IncludeText Does Not Include Bookmark Text if in a Form Text Control

I know the IncludeText Field will include part of the text from an Include File if it is in a bookmark. The format is {IncludeText "File Path" Bookmark}. I have 2 files: Source and Target.



Source is based on a form template, Source.dot. I included a Text Form Field and gave it the bookmark AA. I also included other text in a "normal" bookmark, BB.

In Target I have 2 fields: {IncludeText "C:\\Source.doc" AA} and {IncludeText "C:\\Source.doc" BB}. The text from BB shows up, but the one for AA is blank.

If I go into Source and look under Bookmarks, both AA and BB are there.

Any idea why this is happening, and more importantly, any idea on how to make this work? If not, it seems like a real bug in Word 2003 as they are both definitely considered to be bookmarks.

Thank you,

Stuart

Last edited by skarden; 12-12-2011 at 09:37 AM. Reason: Typo in spelling
Reply With Quote
  #2  
Old 12-12-2011, 10:39 PM
macropod's Avatar
macropod macropod is offline Word 2003 - IncludeText Does Not Include Bookmark Text if in a Form Text Control Windows 7 64bit Word 2003 - IncludeText Does Not Include Bookmark Text if in a Form Text Control Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,234
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Hi Stuart,

To reference content in a protected portion of a document (which is what a formfield will be) via INCLUDETEXT, you need to add the \! switch to the INCLUDETEXT field.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
bookmark, forms, includetext

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2003 - IncludeText Does Not Include Bookmark Text if in a Form Text Control Form Fields - Create blank form text field with if statement? LAssist2011 Word 5 12-14-2011 03:02 PM
Word 2003 - IncludeText Does Not Include Bookmark Text if in a Form Text Control delete all bookmark text hklein Word VBA 4 08-10-2011 04:33 AM
Word 2003 - IncludeText Does Not Include Bookmark Text if in a Form Text Control Copy Macros from Word 2003 - Word 2007 ballj_35 Word VBA 7 05-05-2011 12:37 AM
Treating a text box like a form Text Field jackaroo Word 0 08-18-2010 10:20 AM
Templates: automatic text generation from Rich Text content control Chickenmunga Word 0 10-01-2008 11:16 AM

Other Forums: Access Forums

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


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