I've a Vbscript for merging excel sheet into a single workbook. I would like to know whether we could execute vbscript (.vbs) file in unix system. If yes, please help me with the procedures. Thanks in advance.
Is it possible to run a VBScript in UNIX environment?
47.5k Views Asked by arunpandiyarajhen At
4
There are 4 best solutions below
2

The simple answer to your question is Yes we can run VBScript on UNIX. But you will not be able to run excel on it. Although even if you get Excel to run using WINE I dont know how it would link the COM objects in the Excel to VBScript .
One possible altenative could be to install OpenOffice on the *NIX box and then configure OpenOffice to save and create Excel Docs(but I am not very sure about this)
Not sure about Unices, but on GNU/Linux it is possible to run VBScript using Wine, but VBScript support is limited.
On Debian/Ubuntu you can install as follows:
To run from command line:
or
For example I can run following script using Wine 1.7.19 from Ubuntu Wine PPA:
run: