![]() |
Select Random rows and paste it in a different sheet.
Hi,
I have a database of 10000 rows in excel and i want a macro which will select either 10% of data randomly or if a number is given (say 1150) it should select those many number of row from the data base. After selecting the data it should paste the data in a different sheet. I dont know how to use the rand() function in VBA. Can sum one help me with the code. Regards Heera |
All times are GMT +1. The time now is 07:17 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com