Automatic documentation from VBA – including function arguments

In documenting VBA procedures automatically I showed how to create web pages that documented your VBA projects. I’ve updated that now to also include a popup showing the detail of function arguments too.
This page was automatically created from a VBA project. Hover over the procedure name and it will bring up detail on the arguments.

How does it work?

You can document your entire workbook in one shot, or a module, or group of modules or classes at a time. This example was created by this code

Public Sub docProjects()
    ' use the defaults
    ' can be static, google, or json
    ' do everything, use defaults


    docProjectsExecute "static", Array("regxlib"), "docsregxlib.html"


End Sub

How to get it

You can download the cDataSet.xlsm workbook from the Excel Liberation site. There are many projects in that workbook. You can include just the modules you need in your workbook by following the instructions on the Excel Liberation site – this will download and install the latest code and you can get code updates the same way.

See Excel Liberation for more information on automatic documentation 
About brucemcp 225 Articles
I am a Google Developer Expert and decided to investigate Google Apps Script in my spare time. The more I investigated the more content I created so this site is extremely rich. Now, in 2019, a lot of things have disappeared or don’t work anymore due to Google having retired some stuff. I am however leaving things as is and where I came across some deprecated stuff, I have indicated it. I decided to write a book about it and to also create videos to teach developers who want to learn Google Apps Script. If you find the material contained in this site useful, you can support me by buying my books and or videos.