Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Gina Gina is offline
external usenet poster
 
Posts: 29
Default Macros and Protecting Forms

For some reason, when I add macros to one of my forms, I lose the ability to
protect the form (the lock toolbar button).

any thoughts on what I may be doing wrong?
--
Thanks, Gina
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Beth Melton Beth Melton is offline
external usenet poster
 
Posts: 298
Default Macros and Protecting Forms

What does the macro do? Anything to do with Mail Merge?

Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/


"Gina" wrote in message
...
For some reason, when I add macros to one of my forms, I lose the
ability to
protect the form (the lock toolbar button).

any thoughts on what I may be doing wrong?
--
Thanks, Gina



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Gina Gina is offline
external usenet poster
 
Posts: 29
Default Macros and Protecting Forms

There are several macros which deal with check boxes. I have included one of
the macros below:

Set vinterim = ActiveDocument.FormFields("interim").CheckBox
Set vfinal = ActiveDocument.FormFields("final").CheckBox
Set vreopen = ActiveDocument.FormFields("reopen").CheckBox

If vinterim.Value = True Then
ActiveDocument.Bookmarks("payer").Select
End If

If vfinal.Value = True Then
ActiveDocument.Bookmarks("payer").Select
End If

If vreopen.Value = True Then
ActiveDocument.Bookmarks("payer").Select
End If


I have been able to again protect my document, but now I get a message which
indicates that 'macros in this project have been disabled'.
--
Thanks, Gina


"Beth Melton" wrote:

What does the macro do? Anything to do with Mail Merge?

Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/


"Gina" wrote in message
...
For some reason, when I add macros to one of my forms, I lose the
ability to
protect the form (the lock toolbar button).

any thoughts on what I may be doing wrong?
--
Thanks, Gina




  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Charles Kenyon Charles Kenyon is offline
external usenet poster
 
Posts: 276
Default Macros and Protecting Forms

Is the selected bookmark a form text field? You can only select areas that a
user can edit in a protected form.

The message that macros in this project have been disabled indicates that:
1) Your macro security level is set to high, _and_
2) You do not have a signed vba certificate, _and_
3) Your macros are not stored in an installed template or Add-In, or you
have not checked the security option to allow macros in installed templates
and Add-Ins to run.

Start by changing your security level to medium (not low). Close and reopen
Word.
--
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://word.mvps.org/FAQs/ which is awesome!

My criminal defense site: http://addbalance.com
--------- --------- --------- --------- --------- ---------
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.



"Gina" wrote in message
...
There are several macros which deal with check boxes. I have included one
of
the macros below:

Set vinterim = ActiveDocument.FormFields("interim").CheckBox
Set vfinal = ActiveDocument.FormFields("final").CheckBox
Set vreopen = ActiveDocument.FormFields("reopen").CheckBox

If vinterim.Value = True Then
ActiveDocument.Bookmarks("payer").Select
End If

If vfinal.Value = True Then
ActiveDocument.Bookmarks("payer").Select
End If

If vreopen.Value = True Then
ActiveDocument.Bookmarks("payer").Select
End If


I have been able to again protect my document, but now I get a message
which
indicates that 'macros in this project have been disabled'.
--
Thanks, Gina


"Beth Melton" wrote:

What does the macro do? Anything to do with Mail Merge?

Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/


"Gina" wrote in message
...
For some reason, when I add macros to one of my forms, I lose the
ability to
protect the form (the lock toolbar button).

any thoughts on what I may be doing wrong?
--
Thanks, Gina






Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
protecting forms worduser Page Layout 1 May 25th 06 06:17 AM
Forms - Textselecting behaviour Joakim Page Layout 0 September 19th 05 01:46 PM
Protecting section of form while using Auto TOC elsewhere. AW Microsoft Word Help 4 January 19th 05 09:03 AM


All times are GMT +1. The time now is 02:06 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"