Where in the workbook did you put the macro?
How do users access the macro to run it?
Since all workbooks with macros must be saved as either XLSM or XLSA, I
assume you meant you saved it as a Macro-Enabled workbook (XLSM)!
In order to use the macro on other machines, Macro Security must be set
at least to 'Medium' level with notification option for users to
allow/disallow macros when the file is opened.
If the following macro is stored in a standard module then it can be
run via the Macros dialog...
Sub RunSpellCheck()
Dim wks As Worksheet
For Each wks In ThisWorkbook.Worksheets
With wks
.Unprotect Password:= "" '//enter your password
.Cells.CheckSpelling SpellLang:=1033
.Protect Password:= "" '//enter your password
End With 'wks
Next 'wks
End Sub
--
Garry
Free usenet access at
http://www.eternal-september.org
ClassicVB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion