macro to spellcheck entire workbook

  • Thread starter Thread starter Excel-lent
  • Start date Start date
E

Excel-lent

Does anyone have a macro for Excel 2000 that spellchecks
an entire workbook (ie - selects all worksheets, performs
spellcheck, then returns to only one worksheet selected)?
Is this possible? The excel workbooks I have all have
differently named worksheets.

Thanks for any help you might be able to provide.
 
Hi Excel-lent,

Try:

Sub Tester()
Dim WS As Worksheet
For Each WS In ActiveWorkbook.Worksheets
WS.Cells.CheckSpelling
Next WS

End Sub
 
Excel-Lent,

This is a recored macro it should help


Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC",
IgnoreUppercase:=False _
, AlwaysSuggest:=True, SpellLang:=1033


Charles
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top