export only selected items to excel file

hi, i want to export only selected items from vaadin table:
i try to use :

[code]
ExcelExport excelExport = new ExcelExport(myTable);

            excelExport.excludeCollapsedColumns();
            excelExport.setDoubleDataFormat("#,##0");
            excelExport.setDisplayTotals(false);
            
            excelExport.convertTable();

            excelExport.setDisplayTotals(true);
            excelExport.convertTable();
            excelExport.sendConverted();

[/code]but it export all items.
is there a way to export only the selected items?