Fortis, that is a different thread. in this I want first 50000 records to be copied acroos excelsheet.