Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2007

Tip: Looking for answers? Try searching our database.

Append active form document with checkbox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DeputySmith770@gmail.com - 04 Jan 2007 04:06 GMT
Hello everyone.

My office is currently creating and testing forms in Word for report
writing.  One task I am not sure how to complete in Word forms using
VBA is to append the active document, and cause Word to open another
file within the active document as a new page.

In summary: User clicks on checkbox for "Property Page" on the main
forms page, thereby indicating the user needs to fill out a property
page for the case.  By clicking on the checkbox, Word inserts a page
break at the end of the last page of the main forms document, and
places the Property Page document within the main forms page.

Can a checkbox be coded to insert page break, open and append a
document, and then be re-protected as a form?

I can post/email/send example forms if needed.

Thanks for all the help.

DeputySmith770[at]gmail[dot]com
Doug Robbins - Word MVP - 04 Jan 2007 04:38 GMT
You could have a macro run on exit from the Checkbox formfield to evaluate
the value of the Checkbox and insert a file containing the property page at
the end of the document if it was relevant.

See the following series of articles

Please Fill Out This Form
Part 1: Create professional looking forms in Word
http://www.computorcompanion.com/LPMArticle.asp?ID=22

Part 2: Adding Automation to your Word forms.
http://www.computorcompanion.com/LPMArticle.asp?ID=46

Part 3: Learn more VBA (macros) to automate your forms.
http://www.computorcompanion.com/LPMArticle.asp?ID=119

Part 4: Use custom dialog boxes in your Word forms
http://www.computorcompanion.com/LPMArticle.asp?ID=127

Part 5: Connect your AutoForm to a database to save input time and keep
better records!
http://www.computorcompanion.com/LPMArticle.asp?ID=136

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Hello everyone.
>
[quoted text clipped - 17 lines]
>
> DeputySmith770[at]gmail[dot]com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.