Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ann Marie
 
Posts: n/a
Default excel spreadsheet do an automatic spell check

how can I set the spreadsheet to do an automatic spell check on closing
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary L Brown
 
Posts: n/a
Default excel spreadsheet do an automatic spell check

In the 'BeforeClose' event of the 'ThisWorkbook' Module, put...

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC",
IgnoreUppercase:=False _
, AlwaysSuggest:=True, SpellLang:=1033
End Sub


I used the macro recorder to decide on the Spelling Language of 1033. This
is American English, General Style.

HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"Ann Marie" wrote:

how can I set the spreadsheet to do an automatic spell check on closing

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
Spell check and protection Mici Excel Discussion (Misc queries) 1 January 14th 06 04:07 AM
Converter from MS Works 4.5 spreadsheet to MS Excel 2003 John Excel Discussion (Misc queries) 0 January 14th 06 12:10 AM
Spell check a protected spreadsheet Emma Excel Discussion (Misc queries) 2 July 20th 05 02:16 AM
How do I add a check box to an excel spreadsheet? Alaska Massie Excel Discussion (Misc queries) 1 January 17th 05 01:19 AM
spell check protected document Sportingspaniel Excel Discussion (Misc queries) 1 January 10th 05 11:40 AM


All times are GMT +1. The time now is 12:37 PM.

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"