View Single Post
 
Old 10-07-2021, 06:43 PM
coffent coffent is offline Windows 10 Office 2019
Advanced Beginner
 
Join Date: Dec 2019
Posts: 40
coffent is on a distinguished road
Default How to get Excel VBA to auto-indent code?

In VBA, I have Tools > Options > Editor > Auto Indent checked, yet it doesn't auto-indent my code. For example in a For loop the lines between For and Next remain unindented. Why? Is there a way to force it to indent the code? If not, is there a good add-in for doing this? Thanks.
Reply With Quote