Write a Script to open an excel workbook through VB Scripting

The below vb script will open an excel work book for which the path is mentioned.
set xl = CreateObject("Excel.Application")
xl.visible = true
set wb = xl.workbooks.open("C:\test.xls")
wb.close
xl.quit

0 comments:

Post a Comment

/* Tynt Insight tracker ----------------------------------------------- */