ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Turn off AutoCorrect in Excel via VBA? (https://www.excelbanter.com/excel-programming/399073-turn-off-autocorrect-excel-via-vba.html)

TomK via OfficeKB.com

Turn off AutoCorrect in Excel via VBA?
 
Can I turn off the AutoCorrect Options in Excel via VBA script?

Thanks,
Tom

--
Thanks,
Tom

Message posted via http://www.officekb.com


Michael

Turn off AutoCorrect in Excel via VBA?
 
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.




"TomK via OfficeKB.com" wrote:

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

Turn off AutoCorrect in Excel via VBA?
 
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.a...mming/200710/1



All times are GMT +1. The time now is 12:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com