thegoldphish
New Member
- Joined
- Mar 30, 2009
- Messages
- 1
I have a workbook with 2 sheets.
Sheet 1 has numerous rows with either a number or nothing in row H.
Example:
H
55655
45666
456456
44455
55336
34553
Sheet 2 has numerous rows with this same number in row E (not the same row numbers as sheet 1).
Example:
E
34553
45666
55655
44455
55336
456456
Now here is the hard part. I want to loop through all the numbers on sheet 1 to find which row they are on on sheet 2. Then I want to copy the cell 5 spaces to the right of wherever that number is on sheet 2 and paste it to the right of the place the number is on sheet 1.
Example:
All of the numbers in the H column(sheet1) will be on the E column(sheet2). Is this possible?
Sheet 1 has numerous rows with either a number or nothing in row H.
Example:
H
55655
45666
456456
44455
55336
34553
Sheet 2 has numerous rows with this same number in row E (not the same row numbers as sheet 1).
Example:
E
34553
45666
55655
44455
55336
456456
Now here is the hard part. I want to loop through all the numbers on sheet 1 to find which row they are on on sheet 2. Then I want to copy the cell 5 spaces to the right of wherever that number is on sheet 2 and paste it to the right of the place the number is on sheet 1.
Example:
Code:
Sheet 1 Sheet 2
H I E F G H I J
55655 Num <--paste here 55655 x x x x Num <--copy this
Last edited: