Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC",
IgnoreUppercase:=False _
, AlwaysSuggest:=True
End Sub
Hi Gary.....
It goes in the "This Workbook" module, not a "Sheet " Module..........if you
would like it in a Sheet Module, then you could use this one to activate each
time you switched away from that sheet.
Private Sub Worksheet_Deactivate()
Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC", _
IgnoreUppercase:=False _
, AlwaysSuggest:=True
End Sub
Hi Gary.....
It goes in the "This Workbook" module, not a "Sheet " Module..........if you
would like it in a Sheet Module, then you could use this one to activate each
time you switched away from that sheet.
Private Sub Worksheet_Deactivate()
Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC", _
IgnoreUppercase:=False _
, AlwaysSuggest:=True
End Sub
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.