![]() |
|
#15
|
|||
|
|||
|
Thank you again.
After a half hour of trial and error, I discovered that the way to have the bookmarked text from Text1 come in when the checkbox is checked, rather than unchecked, was to remove from the macro the " + 1" at the end of the line Code:
.CustomDocumentProperties("CheckNo").Value = .FormFields("Check1").Result + 1
Error! Bookmark not defined. when the box is unchecked, but I can live with that. I had just thought that it would return nothing, i.e., the empty paragraph of the second bookmark. I realize and respect that code is as plain as English to you, but since the mechanics of all this still remain obscure to me, an hour of attempts has failed in creating a first additional check box and includetext field to add additional bookmarked text from the source doc. I simply don’t know what to change, though I thought I had grasped the process. I have, strangely, been able to repeat exactly what the field you created does, with the same text brought in, even though I created a CheckNo2 custom document property, and two more bookmarks with another paragraph and another empty one. I tried duplicating the Update macro as Update2 and changing the line shown above to Code:
.CustomDocumentProperties("CheckNo2").Value = .FormFields("Check2").Result
If I may ask you to once again correct my error, perhaps I can see where the difference lies and use that for all the additional check boxes and future documents I need to create. Best, Philip |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Divide Word Form into two separate documents
|
mortcr | Word VBA | 1 | 10-22-2013 02:02 PM |
Best options for setting tab order in a form
|
DBrooks | Word | 1 | 02-16-2013 01:32 PM |
Form field selection allows entry into form text box
|
David C | Word | 1 | 10-24-2012 04:53 AM |
problems saving Word documents in .pdf form
|
kellyjb27 | Word | 1 | 05-26-2012 11:08 AM |
Form Fields - Create blank form text field with if statement?
|
LAssist2011 | Word | 5 | 12-14-2011 03:02 PM |