ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Spell checking without the POP up ... (https://www.excelbanter.com/excel-programming/389176-spell-checking-without-pop-up.html)

LarryLev[_2_]

Spell checking without the POP up ...
 
I want to have a macro that runs activecell.checkspelling, but NOT
show the popup. in psuedo code, what I need is:

while active cell < ""
notaword = activecell.checkspelling

if notaword = false then
activerow.clearcontents
end if

activecell.offset

wend

in short, what I am looking for is a way to test the text contents and
figure out if it can be a word. If it is, then clear the row, and if
not, then just move on.

thanks.


NickHK

Spell checking without the POP up ...
 
Larry,
There is a CheckingSpelling method for various Excel object.
The arguments and return value/behaviour depending on which is used. Check
the help.
Sound like Application.CheckSpelling may suffice for you.

NickHK

"LarryLev" wrote in message
oups.com...
I want to have a macro that runs activecell.checkspelling, but NOT
show the popup. in psuedo code, what I need is:

while active cell < ""
notaword = activecell.checkspelling

if notaword = false then
activerow.clearcontents
end if

activecell.offset

wend

in short, what I am looking for is a way to test the text contents and
figure out if it can be a word. If it is, then clear the row, and if
not, then just move on.

thanks.





All times are GMT +1. The time now is 10:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com