LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.vba.beginners,microsoft.public.outlook.program_vba,comp.lang.basic.visual.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Spell Checking Custom Properties

does this recent post by Rob Bovey help?

The procedure below shows how you can use Excel's spelling feature to
determine if a list of words is located in the dictionary. Enter some words
and non-words into cells A1:A10 on Sheet1 and then run the procedure to see
how it works. A message box will be displayed for each word that the
spelling feature can't locate. This doesn't mean that it isn't a real word,
it just might be misspelled.

Sub LookForWordsInSpellingDictionary()
Dim bFound As Boolean
Dim rngCell As Range
Dim rngTable As Range
Set rngTable = Sheet1.Range("A1:A10")
For Each rngCell In rngTable
bFound = Application.CheckSpelling( _
Word:=rngCell.Value, IgnoreUppercase:=False)
If Not bFound Then
MsgBox rngCell.Value & " was not located."
End If
Next rngCell
End Sub

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses
--
Regards,
Tom Ogilvy

"Colin Sheppard" wrote in message
om...
Hello,

Does anyone have some suggestions on how to use VBA to Spell Check
(and Grammar Check) Custom Properties of a entity/file?

For example, I may wish to have a form that contains text boxes which
contain text destined for a Customer Property. I would like to spell
check that text box BEFORE adding it to the custom property.

(It would also be nice that it could be incorporated in such a way
that I do no need to run a seperate instance of Microsoft Word to
check it with.)

Thanks for your suggestions.

Regards,

Colin.



 
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
Spell Checking with checking cell notes jfitzpat Excel Discussion (Misc queries) 0 August 8th 07 10:26 PM
How can I use spell checking in a protected worksheet? Deb from MA Excel Worksheet Functions 1 April 24th 06 06:40 PM
spell checking options dvs_47 Excel Worksheet Functions 2 March 6th 06 09:16 PM
Spell Checking Custom Properties Jezebel[_2_] Excel Programming 0 June 15th 04 12:47 PM


All times are GMT +1. The time now is 09:30 AM.

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

About Us

"It's about Microsoft Excel"