PC Review


Reply
Thread Tools Rate Thread

Copy past loop

 
 
Aqib Rizvi
Guest
Posts: n/a
 
      17th Mar 2007
I have over 1000 rows in which I have random numbers generated through
Rand() In the next column, I have If formula that tells me if the
random is equal or over .5. I have total at the column end which
calculates result.

I need to copy, paste as value, the result 1000 times in the third
column. I need a VBA code for it and will appreciate any help.
Thanks.


Instance Randum Over .5 Total
1 0.75531777 1 11
2 0.24115034 0 9
3 0.58654479 1 8
4 0.43096180 0 5
5 0.98913511 1 11
6 0.55350200 1 13
7 0.63553569 1 8
8 0.96183014 1 9
9 0.97235357 1 9
10 0.47758409 0 12
Total 12

 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      17th Mar 2007
range("c1:c100").value=range("c1:c1000").value

--
Don Guillett
SalesAid Software
(E-Mail Removed)
"Aqib Rizvi" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have over 1000 rows in which I have random numbers generated through
> Rand() In the next column, I have If formula that tells me if the
> random is equal or over .5. I have total at the column end which
> calculates result.
>
> I need to copy, paste as value, the result 1000 times in the third
> column. I need a VBA code for it and will appreciate any help.
> Thanks.
>
>
> Instance Randum Over .5 Total
> 1 0.75531777 1 11
> 2 0.24115034 0 9
> 3 0.58654479 1 8
> 4 0.43096180 0 5
> 5 0.98913511 1 11
> 6 0.55350200 1 13
> 7 0.63553569 1 8
> 8 0.96183014 1 9
> 9 0.97235357 1 9
> 10 0.47758409 0 12
> Total 12
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to get past welcome screen - login/logoff loop Maxi Windows XP General 8 23rd Jul 2009 04:57 AM
copy and past Allen Wichman Microsoft Word Document Management 0 17th Feb 2009 03:07 PM
Loop, copy, past Robbyn Microsoft Excel Programming 2 11th Jan 2009 05:10 PM
Copy and past Don Windows XP Basics 1 16th Jan 2004 01:37 AM
copy and past Luba Windows XP New Users 3 1st Sep 2003 07:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:34 AM.