Utility Program that reads your VBA

mark hansen

Well-known Member
Joined
Mar 6, 2006
Messages
534
Office Version
  1. 2016
Platform
  1. Windows
I program in Excel VBA mostly and I was wondering if there was a utility program that would read the VB we have written and break it down for us. Similar to a program I used a LONG TIME ago.

Way (way, way) back I cut my teeth on programming dBase III, III+ and IV. When we complete the project we ran a utility program that read the code and printed it out in a neat format. It even adjusting our indention (on the documented printout only), numbered each line and drew brackets to indicate the If Then Else statements and ended the brackets at the End If line. It did the same thing for the other kinds of loops too(Do While etc.). Additionally, at the top of each sub routine it listed the public and private variables, told us what lines the variable was used in the sub routine and what other sub routines were called. All we had to do was to tell it what was the top level routine.

It really documented what we did very well.

I don't suppose anyone knows if there is something like that for VBA code we write in Excel?

Thanks,
Mark
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,225,743
Messages
6,186,770
Members
453,370
Latest member
juliewar

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