Posts

Showing posts from December, 2016

How to Move Excel VBA to a Production Environment?!

Image
I was thinking of a quick-and-dirty solution for moving VBA to a server, but found it was essentially shot down by Microsoft a long while ago: Considerations for server-side Automation of Office https://support.microsoft.com/en-us/kb/257757 I have some other ideas of using an Excel VBA metaphor (in essence a stack of sheets) within a Node.js module, perhaps implementing a set of functions similar to Google Apps Script (GAS) to reduce the learning curve. A simple a way to move Excel VBA (which is very productive in a corporate Excel environment) to a web front-end for low volume self-serve production use is needed. Any idea has dozens if not more people around the world thinking about it - maybe someone has already solved this problem and I can just use it? There are postings on Stack Overflow to figure this out, but consolidated here for quick review. Here's an example of calling an Excel VBA Sub and Function from PowerShell.  PowerShell code: 1: $objExcel = new-