![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Open an Excel Workbook and Retrieve the Names of All the Worksheets
|
||
Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True Set objWorkbook = objExcel.Workbooks.Open("C:\Scripts\Test.xls") For Each objWorksheet in objWorkbook.Worksheets Wscript.Echo objWorksheet.Name Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |