Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA function to check if a string has valid spelling
I have a word generator that creates various combinations of letters
but I only want to process words that would pass a spell check. Is there a VBA function that can operate on a string to check its spelling? I want this to be totally automated, not the CheckSpelling method that brings up a dialog on misspelled words. I want to skip misspelled words, not correct them. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA function to check if a string has valid spelling
The Application.CheckSpelling method returns True if the word is found
in Excel's dictionary, False otherwise. http://msdn.microsoft.com/en-us/libr...ffice.11).aspx Note that you have to use Application.CheckSpelling, the other variations will bring up the dialog box. --JP On Oct 21, 2:08*pm, Edward wrote: I have a word generator that creates various combinations of letters but I only want to process words that would pass a spell check. *Is there a VBA function that can operate on a string to check its spelling? *I want this to be totally automated, not the CheckSpelling method that brings up a dialog on misspelled words. *I want to skip misspelled words, not correct them. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA function to check if a string has valid spelling
On Oct 21, 2:20*pm, JP wrote:
The Application.CheckSpelling method returns True if the word is found in Excel's dictionary, False otherwise. http://msdn.microsoft.com/en-us/libr...ffice.11).aspx Note that you have to use Application.CheckSpelling, the other variations will bring up the dialog box. --JP On Oct 21, 2:08*pm, Edward wrote: I have a word generator that creates various combinations of letters but I only want to process words that would pass a spell check. *Is there a VBA function that can operate on a string to check its spelling? *I want this to be totally automated, not the CheckSpelling method that brings up a dialog on misspelled words. *I want to skip misspelled words, not correct them.- Hide quoted text - - Show quoted text - Bingo! Thanks. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA function to check if a string has valid spelling
You're welcome!
--JP On Oct 21, 2:39*pm, Edward wrote: Bingo! *Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
is there spelling check function in excel 2000? | Excel Discussion (Misc queries) | |||
... Can I set Spell Check to automatically check my spelling ... | Setting up and Configuration of Excel | |||
To to check whether a string is a valid reference | Excel Programming | |||
Spelling check | Excel Programming | |||
How to check that a string is a valid formula ? | Excel Programming |