hi
i have this bit of code at start of my app
what i want is a message box that appears if when i open my workbook the sheet APAC Trial Balance(All Classes) is not in the excel file
i have this bit of code at start of my app
Code:
Dim oApp As New Excel.Application
Dim oWBa As Workbook = oApp.Workbooks.Open(txtFileName.Text)
Dim oWSSheet As Worksheet = DirectCast(oWBa.Worksheets("APAC Trial Balance(All Classes)"), Worksheet)