トップ回答者
Xlsファイルのアクティブシートの指定方法

質問
-
Dim xlApp As New Microsoft.Office.Interop.Excel.Application
Dim xlBooks As Microsoft.Office.Interop.Excel.Workbooks = xlApp.Workbooks
Dim xlFilePath As String = "Test.xls"
Dim xlBook As Microsoft.Office.Interop.Excel.Workbook = xlBooks.Open(xlFilePath)
Dim xlSheets As Microsoft.Office.Interop.Excel.Sheets = xlBook.Worksheets
Dim xlSheet As Microsoft.Office.Interop.Excel.Worksheet = xlSheets.Item(1)アクティブシートの指定方法を、おしえてください。