Text and CheckBox macros in Protected form

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

Guest

I have created a template where I used the textbox and checkbox macros
instead the textbox and checkbox form fields. So when I protect the document
and save it and when I open it up again, I am unable to input text int he
textboxes or use any of the checkboxes, basically can't use anything, I can;t
even unprotect the document, luckily I had a backup before I protected the
template. Is there a macro function when I can use the textbox and checkbox
macros to be able to be used when the document is protected. Much thanx
 
You are using the TextBox and CheckBox "ActiveX" controls...which work
differently than the form fields. You do not protect a doc like this.
These controls don't work under protection like form fields.

Good luck...

Dian D. Chapman, Technical Consultant
Microsoft MVP, MOS Certified
Editor/TechTrax Ezine

Free MS Tutorials: http://www.mousetrax.com/techtrax
Free Word eBook: http://www.mousetrax.com/books.html
Optimize your business docs: http://www.mousetrax.com/consulting
Learn VBA the easy way: http://www.mousetrax.com/techcourses.html
 
Adding to Dian's correct response, I never use controls from the control
toolbox unless there is a specific reason to do so. The checkbox and text
form fields from the forms toolbar are very good if you are going to protect
your form anyway. There are a number of ways to create and use clickable
checkboxes in documents / templates. Some require protected or locked forms,
others do not. Take a look at the Checkbox template available at
http://www.addbalance.com/word/download.htm#CheckboxAddIn for an exploration
of these.

A protected document is what Word calls an "online form." Check this in
help. For more about online forms, follow the links at
http://addbalance.com/word/wordwebresources.htm#Forms or
http://word.mvps.org/FAQs/Customization/FillinTheBlanks.htm especially Dian
Chapman's series of articles.

Hope this helps,
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
Ok thanx
But when looking at the MS Word help, I get this:

"You can use ActiveX controls on the Control Toolbox to add more powerful
functionality to a form that users will complete in Microsoft Word...Before
you make a form available to users, protect it by clicking Protect Form."

I see this under Add ActiveX Controls to a Form, so its a bit confusing on
how MS help says you can. Obviosly your right since I run into the problem
of not being able to use the form when I open it up again.
 
Also realize that, although ActiveX controls can be very good and
quite useful in a doc...they also add MUCH MORE weight to your
document. And too many can cause a crash.

Here's a lesson I posted free to my Word VBA/Forms group
(http://groups.yahoo.com/group/Word_VBA/) the shows how to use some
controls and I believe I also left in the part where it blows up when
I add too many. ;-)

http://www.mousetrax.com/training/FreeWordVBAMember01.html

Dian D. Chapman, Technical Consultant
Microsoft MVP, MOS Certified
Editor/TechTrax Ezine

Free MS Tutorials: http://www.mousetrax.com/techtrax
Free Word eBook: http://www.mousetrax.com/books.html
Optimize your business docs: http://www.mousetrax.com/consulting
Learn VBA the easy way: http://www.mousetrax.com/techcourses.html
 
Back
Top