Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9  
Old 03-01-2014, 06:06 PM
Ulodesk Ulodesk is offline Setting up a form to bring in text for other documents Windows 7 64bit Setting up a form to bring in text for other documents Office 2013
Word 2013 Expert Cert
Setting up a form to bring in text for other documents
 
Join Date: Sep 2009
Location: Virginia
Posts: 872
Ulodesk is on a distinguished road
Default Definite progress, but more trouble

Thank you very much, Paul. I have studied the complex field you returned, found the advanced document properties, and have successfully changed the value of the custom property as well as the source document; that is, I know how now. I have learned a good deal in the process and I am very grateful! But still stuck.

What I am now stumped on is how to use this with a checkbox. I am attaching a copy of the document you provided, with a better indication of what I would like to end up with, in case I have not communicated this aspect clearly. A corresponding source doc (Text1) is also attached.

I have cast it in terms of computer help desk sorts of issues, with two examples and the rest left as generic labels. I have set this up in a table in the target doc; I believe tables cause no problems in this regard but can lay out the page otherwise. The idea is simply that on page one, I have a list of issues I recognize by a label. The source document contains the solutions to every issue, each one separately bookmarked.

Let's say, for example, that I have a client who needs solutions for issues 1,4,7, and 13. I open my target doc, and as I check the relevant check boxes, those selected solutions are brought in on page two, which I then print out and hand to my client. That's the principle.

I remain confused about how this would work in your plan. In your early response above, you said

Quote:
Personally, I'd have the INCLUDETEXT fields in the document already, and use a DOCPROPERTY field to return a value from a custom document property to determine the output. If the source documents have two bookmarked ranges - one containing the TRUE content and the other containing the FALSE content - all that is needed is to toggle the bookmark reference. For example:
{INCLUDETEXT "C:\\Users\\Genius\\Desktop\\Text1.docx" "{DOCPROPERTY BkMk}"}
I can find "toggle field codes" but not "toggle bookmark references". Also, I have trouble translating that to what you have provided. True and False, I guess would correspond to checked and unchecked, respectively? Or,would I make, perhaps, two bookmarks in the source doc for each solution, the first with the solution, the second an empty paragraph, and the empty para would correspond to the unchecked box, the solution to the checked box. I can't figure that one out, because I have to manually change the custom document property value; so, even if I created 20 custom document properties to refer to 20 bookmarked solutions, changing each would still be manual. Obviously, there's something else.

The Graham Mayor page I had lost, that goes through his solution, is here: http://www.gmayor.com/selectfile.htm About halfway down the page, where it says INCLUDETEXT field.

His uses a macro, which he provides, on exit from checking a box to insert the desired text at a bookmark. Presumably the bookmark stays empty until a box is checked. Though I haven't gotten there yet, I would think that then I could create macro to delete any empty paragraphs or something like that, to avoid extra space between solution paragraphs for the printed copy.

Paul, I'm not trying to suggest reversion to an approach you have replaced; I just don't grasp the connections here. I had no idea this would require so much time.

Cordially,
Philip
Attached Files
File Type: docx Form page with more indicators.docx (30.1 KB, 15 views)
File Type: docx Text1.docx (18.2 KB, 12 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a form to bring in text for other documents Divide Word Form into two separate documents mortcr Word VBA 1 10-22-2013 02:02 PM
Setting up a form to bring in text for other documents Best options for setting tab order in a form DBrooks Word 1 02-16-2013 01:32 PM
Setting up a form to bring in text for other documents Form field selection allows entry into form text box David C Word 1 10-24-2012 04:53 AM
Setting up a form to bring in text for other documents problems saving Word documents in .pdf form kellyjb27 Word 1 05-26-2012 11:08 AM
Setting up a form to bring in text for other documents Form Fields - Create blank form text field with if statement? LAssist2011 Word 5 12-14-2011 03:02 PM

Other Forums: Access Forums

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