I have a case where I need to read an excel file with filtered rows using SSIS.
I've started testing the process but all I get when I look in my table is "System.__ComObject"
I'm sure I doing something stupid.
Thanks
Public Overrides Sub CreateNewOutputRows()
Dim xlApp = New Excel.Application
Dim wb As Microsoft.Office.Interop.Excel.Workbook
Dim rw As Excel.Range
xlApp.DisplayAlerts = False
wb = xlApp.Workbooks.Open("C:\PosData\test.xlsx")
Dim visible As Excel.Range = wb.Sheets("Data").UsedRange.SpecialCells(Excel.XlCellType.xlCellTypeVisible, Type.Missing)
For Each rw In visible.Rows
Output0Buffer.AddRow()
Output0Buffer.Column = rw.Cells(1, 1).ToString
Next
Output0Buffer.SetEndOfRowset()
End Sub
ToStringbeToString()?