Discussion:
Turn off AutoCorrect in Excel via VBA?
(too old to reply)
TomK via OfficeKB.com
2007-10-10 16:27:10 UTC
Permalink
Can I turn off the AutoCorrect Options in Excel via VBA script?

Thanks,
Tom
--
Thanks,
Tom

Message posted via http://www.officekb.com
Michael
2007-10-10 17:36:02 UTC
Permalink
sub turnoffacorr()
With Application.AutoCorrect
.TwoInitialCapitals = False
.CorrectSentenceCap = False
.CapitalizeNamesOfDays = False
.CorrectCapsLock = False
.ReplaceText = False
.DisplayAutoCorrectOptions = False
End With
Application.AutoCorrect.AutoExpandListRange = False


End sub
--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.
Post by TomK via OfficeKB.com
Can I turn off the AutoCorrect Options in Excel via VBA script?
Thanks,
Tom
--
Thanks,
Tom
Message posted via http://www.officekb.com
TomK via OfficeKB.com
2007-10-10 18:32:42 UTC
Permalink
Thanks, Michael! I just stumbled over the right keywords in my searching to
find something close to that, except for the "Application.AutoCorrect.
AutoExpandListRange = False" line. What does that do?

Thanks,
Tom
--
Thanks,
Tom

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/excel-programming/200710/1
Loading...