Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to disable Word auto-spell-checker from Visual Basic

Posted on 2013-11-25
3
Medium Priority
?
581 Views
Last Modified: 2013-11-25
Hi.

I have a Visual Basic 6 application which uses automation to generate a Word document.
Currently application is throwing an error because a word popup message appears saying there are too many mispelling words, so my question is: is it possible to disable the automatic spell-checker to avoid this problem?

It should work on all Microsoft Word versions (from Microsoft Word XP to Microsoft Word 2013).

Thank you.
0
Comment
Question by:gplana
  • 2
3 Comments
 
LVL 76

Assisted Solution

by:GrahamSkan
GrahamSkan earned 2000 total points
ID: 39675035
Doc.Range.NoProofing = True

Open in new window

Will disable the spell checking for the Doc object
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 2000 total points
ID: 39675045
wdApp.Options.CheckSpellingAsYouType = False

Open in new window

will stop any dynamic spell checking in the wdApp application
0
 
LVL 15

Author Closing Comment

by:gplana
ID: 39676050
Thank you both.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question