Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 897
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 897
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
is there spelling check function in excel 2000? jack Excel Discussion (Misc queries) 1 April 6th 07 02:04 PM
... Can I set Spell Check to automatically check my spelling ... Dr. Darrell Setting up and Configuration of Excel 0 March 21st 06 08:26 PM
To to check whether a string is a valid reference Nick Shinkins Excel Programming 3 December 17th 04 04:27 PM
Spelling check Mark Excel Programming 1 August 5th 04 09:24 AM
How to check that a string is a valid formula ? Adrian[_7_] Excel Programming 5 July 30th 04 07:10 PM


All times are GMT +1. The time now is 01:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"