#1   Report Post  
Mrs Pink
 
Posts: n/a
Default Spell check in Forms

Hi

I have used the code at
http://word.mvps.org/faqs/macrosvba/...ProtectDoc.htm
to enable the spell check in my word forms.

Although it will work fine when I, the creater of the forms, run the
macro,
it will not work when any other users try it.

It comes up with a "compile error - cannot find project or library" and

highlights the code at:

'The following subroutine won't be called if Word 97 is in
use
If Not Left$(Application.Version, 1) = "8"

specifically, the "Left$" part.

I am not a programmer, but I am desperate to solve this - I have 2 days
to
sort it or my forms and several months work will be down the pan!!!
Please, can anyone help?

  #2   Report Post  
Jay Freedman
 
Posts: n/a
Default

Hi Mrs Pink,

See http://word.mvps.org/faqs/apperrors/MidNotWorking.htm. When the article
talks about "references" it means that in the VBA editor you should look at
the Tools References dialog. This is a list of the external files (DLLs,
OCXs, libraries, etc.) that can be used by VBA, and the ones that have check
marks may actually be in use. The problem you're seeing means that there's
some file in use on your development machine that isn't available on the
other users' machines.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Mrs Pink wrote:
Hi

I have used the code at
http://word.mvps.org/faqs/macrosvba/...ProtectDoc.htm
to enable the spell check in my word forms.

Although it will work fine when I, the creater of the forms, run the
macro,
it will not work when any other users try it.

It comes up with a "compile error - cannot find project or library"
and

highlights the code at:

'The following subroutine won't be called if Word 97 is in
use
If Not Left$(Application.Version, 1) = "8"

specifically, the "Left$" part.

I am not a programmer, but I am desperate to solve this - I have 2
days to
sort it or my forms and several months work will be down the pan!!!
Please, can anyone help?



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
Getting Spell Check Macro to work Tom Hyland Microsoft Word Help 8 January 14th 05 06:45 PM
Word Problem w/Auto Text and Spell Check and Crashing HW Microsoft Word Help 1 January 12th 05 04:59 AM
Remove Spell Check Feature pauliner Microsoft Word Help 1 January 6th 05 06:28 PM
Spell Check, on Word 2002; Other Languages June New Users 5 December 14th 04 02:31 PM
spell check Suzanne S. Barnhill Tables 1 November 22nd 04 12:32 AM


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