Solved

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

Posted on 2013-11-25
3
560 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 500 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 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Send outlook email from VBS Script 2 42
Math Equation 23 105
How to run a VBA Macro on Mac Word 2011? 2 73
Vector, list Questions R 6 31
A short article about a problem I had getting the GPS LocationListener working.
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

839 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