View Single Post
 
Old 07-15-2011, 09:25 PM
PosseJohn PosseJohn is offline Windows XP Office 2007
Novice
 
Join Date: Jul 2011
Posts: 20
PosseJohn is on a distinguished road
Default

Thankyou, setting the NoReset:=True now prevents the form fields from going blank.

Followup question:
Using the code I previously posted, it seems that the VBA code doesn't protect the document after AllowOnlyReading. When I reopen the document, without enabling macros, the FormFields are still able to be edited.

When troubleshooting, I stepped thru the VBA code by using F8, and the code seemed to work just fine. But when the code runs on its own, it doesn't.

Any suggestions? Thanks!!
Reply With Quote