Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 98
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a new sheet containing random sampler 200 rows over 2000 Thierry Sophia-Antipolis Excel Worksheet Functions 4 March 26th 09 01:55 PM
Alternate Row Select in Sheet 1 then Paste to Sheet 2 Steevo Excel Worksheet Functions 4 December 5th 08 06:45 PM
Select and then cut and paste rows based on a value in 1 cell of t mendozalaura Excel Programming 1 August 25th 08 09:31 PM
copying random rows in excel to another sheet Neda-k Excel Programming 2 April 8th 08 11:33 AM
Select rows with certain values, cut, paste into new worksheet Meltad Excel Programming 11 August 7th 06 09:58 AM


All times are GMT +1. The time now is 10:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"