Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set DIR="X:SYSTEMMAKROS"
- X:
- cd %DIR%
- start /wait EXCEL.EXE /e-GENERATE_REPORTS BSYSTEM.XLA
- set xlApp = CreateObject("Excel.Application")
- xlApp.Visible = True
- set xlBook = xlApp.Workbooks.Open("X:SYSTEMMAKROSBSYSTEM.XLA")
- xlBook.Run "GENERATE_REPORTS"
- xlBook.Close
- xlApp.Quit
Add Comment
Please, Sign In to add comment