excel - Converting the VBA script into .exe file -
is there way or tool convert vba script .exe file.
ex: click on .exe file. macro should run automatically , should work in similar way run manually excel macros.
your inputs helpful.
just create vbs file.
it same language (vbs , vba) 'translation' should easy.
you can easier creating vbs file opens workbook , runs macro inside workbook.
the file :
dim xlapp dim wb dim ws set xlapp = createobject("excel.application") xlapp.visible = true path = "mypath" set wb = xlapp.workbooks.open(path & "myworkbookname") set ws = wb.sheets("mysheetname") wb.application.run "module1.macro1" wb.close
Comments
Post a Comment