View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Mike Fogleman Mike Fogleman is offline
external usenet poster
 
Posts: 1,092
Default Copying and Pasting Using Row Counts

I may be able to help you with this, but I need to know a few things about
your data. Where are lists A & B located? Are they both on sheet1? What
range do they occupy? Are there headers? Are the lists always going to be 50
& 100 rows long or can they vary in length? Does the "new worksheet" already
exist or do you want it added if it does not exist? If there are headers do
want them copied to the first row only of the "new worksheet"?
Mike F
"Stubbsy." wrote in message
...
I have 2 lists A and B. List A has 50 items and List B has 100 items. Each
list has 3 columns of data.

I need to copy the first line of data from List A and paste into into a
new
worksheet 100 times (the length of List B) and then copy List B and paste
it
next to it to create a List C.

I then need to copy the second line of data from List A and paste it below
List C again 100 times (the lenght of List B) and again, copy List B and
paste it next to it (thus creatiing a List C that is now 200 rows).

And repeat this 50 times (the number of rows of data in List A).

I understand macros, and I know I can use a Loop using ROWS(), but can't
get
it quite right. Please Help !!!