Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
r r is offline
external usenet poster
 
Posts: 125
Default Spelling check in excel

Hello all,

This code is meant to run a spell check when closing a workbook in excel, it
works fine but doesn't set focus on the specific
cell it's checking (like the spelling check from the toolbar dose). how can
I set it to mark the spelling mistake during the spell check?

Private Sub App_WorkbookBeforeClose(ByVal Wb As Workbook, Cancel As Boolean)

.........
Application.SpellingOptions.DictLang = 1033
strResult1 = Cells.CheckSpelling
......
...

End Sub

Thanks,

r
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
Change spelling check language in Excel 97 bwetpdpa Excel Discussion (Misc queries) 1 May 19th 05 05:52 PM
Why does spelling check close Excel when checking spanish? RCP Excel Discussion (Misc queries) 2 December 4th 04 07:37 PM
Spelling check Mark Excel Programming 1 August 5th 04 09:24 AM


All times are GMT +1. The time now is 04:46 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"