I am working on a program that has multiple win grids on it. I need to export each grid into one excel document as a separate sheet. Is there a way to do this with the UltraGridExcelExporter? I am using version 5.3 of infragistics....
For example, how do I write the 'Workbook' to a file?
MyWorkbook.ActiveWorksheet = MyWorkbook.Worksheets("Customers")
Me.UltraGridExcelExporterMain.Export(gridCustomers, MyWorkbook)
MyWorkbook.Worksheets.Add("Jobs")
Me.UltraGridExcelExporterMain.Export(gridJobs, MyWorkbook)
So now I have an instance of an infragistics excel workbook, but how do I write it to a file?
Thanks...
I have just upgraded to 2008.1
I am now getting the following warning in VB2005:
Warning 3 'Infragistics.Excel.BIFF8Writer' is obsolete: 'Deprecated. The BIFF8Writer class has been replaced by the Save instance methods of Workbook.' C:\VS\ODG\ABS\Forms\ASFBASE1.vb 2246 17 ABS
Apparently BIFF8Writer has been deprecated. Can you tell me how to use this new instance method?
Infragistics.Excel.BIFF8Writer.WriteWorkbookToFile(MyWorkBook, filename)