Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2006

Tip: Looking for answers? Try searching our database.

ProtectedForForms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GWizz - 19 Jan 2006 10:29 GMT
Have a template which contains some boilerplate text with an AutoNew Macro
which Inserts a file into the top section of this same document. The inserted
file has some forms fields. The very last thing the AutoNew macro does is
insert a continuous break and then attempts to protect the first section
leaving any subsequent sections free for change. Unfortunately this fails
leaving everything unprotected. Any ideas ??
>>=== GWizz ===<<
GWizz - 19 Jan 2006 11:10 GMT
Whats weird is that in the immediate window

? ActiveDocument.Sections(1).ProtectedForForms returns True for section 1
and false for section 2

But the form fields are still unprotected ?

The form fields are in a Table would that make any difference ?
>>=== GWizz ===<<

> Have a template which contains some boilerplate text with an AutoNew Macro
> which Inserts a file into the top section of this same document. The inserted
[quoted text clipped - 3 lines]
> leaving everything unprotected. Any ideas ??
> >>=== GWizz ===<<
GWizz - 19 Jan 2006 12:39 GMT
Doh !

Seperate command yes got it now !

>>=== GWizz ===<<

> Whats weird is that in the immediate window
>
[quoted text clipped - 13 lines]
> > leaving everything unprotected. Any ideas ??
> > >>=== GWizz ===<<
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.