Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    Mar 2002
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts

    FORM FOOTER (2000)

    Need to know how to change footer on individual forms created from a template.

    Previous steps:

    1) created a form, protected it, saved as template
    2) filled in 50 different forms
    3) just updated those forms by checking or unchecking boxes

    Problem:
    Can't change footer to reflect revision # and date without losing all info in form. Need to unlock it to change footer, then when I lock it - all data is lost.

    Any solutions in design or editing would be greatly appreciated. <img src=/S/dizzy.gif border=0 alt=dizzy width=15 height=15>

  2. #2
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Eugene, Oregon, USA
    Posts
    110
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: FORM FOOTER (2000)

    To retain your form field data, when you re-protect the form, you need to set the NoReset parameter to true, as in...

    ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True, Password:=""

  3. #3
    Star Lounger
    Join Date
    Mar 2002
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: FORM FOOTER (2000)

    Hubert NY -

    Would you be kind enough to tell me exactly how to do what you instruct? I don't know the steps to take.

    Thanks so much <img src=/S/doh.gif border=0 alt=doh width=15 height=15>

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: FORM FOOTER (2000)

    For a quickie:
    <UL><LI>Unprotect a document the usual way.
    <LI>Make the necessary modifications
    <LI>Open the Visual Basic Editor (Alt+F11)
    <LI>Open the immediate window (Ctrl+G)
    <LI>Type the line Hubert suggested:

    ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True

    followed by Enter[/list]Once you've typed this line, you can re-execute it for another document by positioning the cursor at the end of the line and pressing Enter.

    If you need this often, it's more efficient to create a macro to do this, and assign the macro to a keyboard shortcut or custom toolbar button. One place to put the macro is in a new module in Normal.dot:
    <UL><LI>In the Visual Basic Editor, activate the Project Explorer (Ctrl+R).
    <LI>Select Normal
    <LI>Select Insert/Module
    <LI>Type the following macro:

    Sub SafeProtect()
    ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True
    End Sub

    <LI>Switch to Word, and assign the macro to a keyboard shortcut or toolbar button (post back if you need instructions)[/list]Now, re-protecting a document without loss of form fields is only a keystroke or mouse click away.

Posting Permissions

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