Hi,
I have a database of 10000 rows in excel and i want a macro which will select
10%(10% of 10000 rows) of rows randomly and paste it in a different sheet.
And if a user mentions a specific number, say 1150 rows then the macro should
select those many rows randomly and paste it in a different sheet.
I dont know how to use the rand() function in VBA. Can sum one help me with
the code.
I am not a programmer
Regards
Heera
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200901/1