Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now