delect values in Sheet1 and copy values from Sheet2 and then paste in Sheet1 in place of the deleted

drniranjan

New Member
Joined
Jun 15, 2011
Messages
19
Hi Guys,
I have data in rows in excel sheet1.

Say the data sets in Sheet1 are:

12 11 23 4 1 44 9 10 21 10 13 23 19 44 5 8

I need to delet the content from 7th column onwards..then I have the values in A, B, C, D, E, and F columns and remaing are deleted. Here I deleted 10 points from '44' onwards..

I need to add some new values (not neccessarily the same 10 number of values that I deleted) in the delected portions i.e. from col G onwards from Sheet2.

But thing is, the data in Sheet2 are not in one row. I have data in two rows like this:

1 3 4 2 0 5 4 1 4
2 4 6 7 7 2 0 3 6

I want to place them in a single row by just copying the bottom line and pasting besides the top row.

Means, this should look like:
1 3 4 2 0 5 4 1 4 2 4 6 7 7 2 0 3 6

Now I need to copy the above line of the Sheet2 and to paste them besides the remaing of the row in Sheet1.

Which looks like:

12 11 23 4 1 44 1 3 4 2 0 5 4 1 4 2 4 6 7 7 2 0 3 6

Can please help me guys..I shall be thankful to you if could come up with a macro to do the above........

Regards, NP
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top