Formatting your VBA code

shadow12345

Well-known Member
Joined
May 10, 2004
Messages
1,238
Im awful at keeping my code tidy, and the indents and tabs go all over the place where i copy and paste bit around.

I have two quesitons...
Is there a free VBA code Formater anyone knows of?

Is there a standard convention on how to arrange the code in the first place?
 
And the fact it will do an entire project in one click... :) (I'll stop rubbing it in now)

FYI... even though you have probably helped me on one of my many questions and I am grateful for that; at this point in time, I hate you. :rofl:

I think I'm going insane. I keep trying it hoping it will work, but I keep getting the same result... lol

"The definition of insanity is repeating the same action over and over and expecting different results."
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,224,527
Messages
6,179,334
Members
452,907
Latest member
Roland Deschain

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top