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.
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.
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.
I’ve been doing an annual update called ‘a year in Apps Script’ for a number of years now, but I didn’t get round to the 2021 post. This year I thought I’d do something different. […]
In a previous post I covered how you could use the Google Maps Api to complete and parse addresses for subsequent mapping directly from Excel. In the name of fairness, I implemented the same thing […]
Following previous developments on hiding data in excel objects, Excel jSon conversion and dynamic forms I figured it was time to combine all these threads, and have implemented all that as an integrated solution as […]
bruce mcpherson is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at http://www.mcpher.com. Permissions beyond the scope of this license may be available at code use guidelines