Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Spell checking in forms

Status
Not open for further replies.

Computeacher

Instructor
Apr 11, 2000
6
0
0
US
Is there a way to check spelling in a protected Word form?
 
Right from MS Technet <A HREF=" TARGET="_new"> ProtectForm()<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' ******************************************<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' ProtectForm Macro.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' Toggles protection for the active document<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' when the Protect Form button on the forms<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' toolbar is clicked.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' ******************************************<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If ActiveDocument.ProtectionType = wdNoProtection Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ActiveDocument.Unprotect Password:=&quot;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End If<br><br>&nbsp;&nbsp;&nbsp;End Sub <p> <br><a href=mailto: dreamboat@nni.com> dreamboat@nni.com</a><br><a href= </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top