Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Matilda
 
Posts: n/a
Default spellcheck in protected form

I have tried the macro posted but I can't figure it out for the life of me,
it just won't work. I have spent 2 days on it and am fed up! I am creating
a password protected form for people to use. They need spellcheck for the
filled in blanks only. I am the only one with the password that can change
the form. Can someone please do it for me so I don't have to worry about it
any more. I just want it to work!!!! I know how to do very simple macros
only. I want it to work on other computers where the people will be filling
it out.

We are using Word 2003.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Charles Kenyon
 
Posts: n/a
Default spellcheck in protected form

I assume you mean the macro at
http://www.mvps.org/word/FAQs/Macros...ProtectDoc.htm.
You need to add your password to the reprotection command.

'Re-protect the document
oDoc.Protect Type:=wdAllowOnlyFormFields, NoReset:=True

With a password:
'Re-protect the document
oDoc.Protect Type:=wdAllowOnlyFormFields, NoReset:=True,
Password:="MyPassword"

Replace the MyPassword between the quotation marks with your password. Note,
that should all be one line.
--
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!
--------- --------- --------- --------- --------- ---------
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.
"Matilda" wrote in message
...
I have tried the macro posted but I can't figure it out for the life of me,
it just won't work. I have spent 2 days on it and am fed up! I am
creating
a password protected form for people to use. They need spellcheck for the
filled in blanks only. I am the only one with the password that can
change
the form. Can someone please do it for me so I don't have to worry about
it
any more. I just want it to work!!!! I know how to do very simple macros
only. I want it to work on other computers where the people will be
filling
it out.

We are using Word 2003.



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Charles Kenyon
 
Posts: n/a
Default spellcheck in protected form

Oops, you will also need the password in the unprotect statement.

'Now unprotect the document
oDoc.Unprotect

should be:

'Now unprotect the document
oDoc.Unprotect Password:="MyPassword"
--
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!
--------- --------- --------- --------- --------- ---------
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.



"Matilda" wrote in message
...
I have tried the macro posted but I can't figure it out for the life of me,
it just won't work. I have spent 2 days on it and am fed up! I am
creating
a password protected form for people to use. They need spellcheck for the
filled in blanks only. I am the only one with the password that can
change
the form. Can someone please do it for me so I don't have to worry about
it
any more. I just want it to work!!!! I know how to do very simple macros
only. I want it to work on other computers where the people will be
filling
it out.

We are using Word 2003.



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
Spellcheck a password protected form & repagination Leonard Microsoft Word Help 0 September 2nd 05 09:24 PM
Protected Form - allow users to access hyperlink in the form Diddakoi Microsoft Word Help 1 August 5th 05 12:34 AM
How do i keep text boxes open in a protected form or document? wiggins Microsoft Word Help 1 March 9th 05 10:19 AM
How can I spellcheck the text entered into a locked form? Missy Microsoft Word Help 1 January 20th 05 05:20 PM
Document object in protected form Bruce Tables 2 December 6th 04 07:09 PM


All times are GMT +1. The time now is 05:55 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"