Skip to content Skip to sidebar Skip to footer

Get All The Vba Macros Of A Workbook By Javascript Api For Excel

In VBA, we could use for example Wb.VBProject.VBComponents to fetch all the VBA macros of a workbook Wb. Does anyone know if JavaScript API for Excel provides any object or functio

Solution 1:

No, you cannot get the VBA macros out of the workbook using JS APIs.

Out of curiosity, why would you want to do it? I.e., what would be the pitch you'd make for having us include this API?

~ Michael Zlatkovsky, developer on Office Extensibility team, MSFT

Solution 2:

I think this github project is what you're looking for:

https://github.com/vbaidiot/Ariawase/blob/master/vbac.wsf

Post a Comment for "Get All The Vba Macros Of A Workbook By Javascript Api For Excel"