Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
615
Export Selected Rows to Excel
posted

I'm maintaining some previously written code and have this to work with inside my Export Sub:

 

Dim exporter As New Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter

exporter.Export(grid, filename)

 

Naturally, this is exporting the entire grid to the file instead of just the selected rows.  I found some examples from this forum on how to add a certain handler (RowsExporting?), but when I add the handler Sub it doesn't seem to be called when the exporter.Export() is called.  Am I missing a step somewhere?  Thanks for any help you can provide!