Insert Footnotes within protected word forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would need to create protected word forms that provide with the possibility
to insert footnotes.

Although the part of the form that should welcome the text with footnotes is
not protected (creation of several sections within the documents with
protected and none protected sections), the menu Insert/References/Footnotes
is not active
anymore from the moment the form is protected.

Thanks a lot in advance for your help!
K.
 
You will need to use a macro that is assigned either to a button on the
toolbar or to the keyboard as follows:

Dim myfootnote As String
myfootnote = InputBox("Enter the text for the footnote", "Insert
Footnote")
ActiveDocument.Unprotect
ActiveDocument.Footnotes.Add Range:=Selection.Range, Text:=myfootnote
ActiveDocument.Protect wdAllowOnlyFormFields, NoReset


--
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
 
Back
Top