Consulting

Results 1 to 2 of 2

Thread: Solved: type in textbox + retain data in certain sections

  1. #1
    VBAX Regular
    Joined
    Mar 2006
    Posts
    30
    Location

    Solved: type in textbox + retain data in certain sections

    I have this problem:
    I use a maindocument for mailmerge.
    After merging the document performs certain formfield calculations based on the data from the merge datasource (a regular .txt document)
    My document is password-protected after the merge, so that I can type information into the textboxes.
    What I need is this:To fill in information in textboxes on page 2 of this document while at same time retain the calculated and otherwise merged data in the other sections of the doc. Then I need to save the doc. and unlink the data so that it doesnt change when updating my datasource.

    Can it be done?
    If so, how?

    Søren

  2. #2
    VBAX Wizard
    Joined
    May 2004
    Posts
    6,713
    Location
    If the fields to be retained are in a different Section from the ones you DO want to enter data, then just protect the section with the ones you want to enter data. If the other Section is not protected then the values persist.

    Also when you reprotect, use NoReset:= True. This persists values in existing formfields.

    As for unlinking, fields have an Unlink method.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •