VBA Code Copy/ paste from one sheet, then again copy/paste to another sheet which has a table

DanielFran

New Member
Joined
Apr 19, 2018
Messages
35
Hi,

I need help to write a vba code for the following:

In 'Sheet 2' there are columns A - K (and data is on row 5), so I need specific columns to be copied and pasted into 'Sheet 3'

So in ' Sheet 3':
Col A - will paste data from 'Sheet 2' Col A
Col B - will paste data from 'Sheet 2' Col B
Col C - will paste data from 'Sheet 2' Col J
Col D - will paste data from 'Sheet 2' Col E

Now, in 'Sheet 1' Columns A-K and data is in row 7 but this is a TABLE, so in sheet 1 the following to happen:
Col A - will paste data from 'Sheet 3' Col A
Col B - will paste data from 'Sheet 3' Col B
Col D - will paste data from 'Sheet 3' Col C
Col E - will paste data from 'Sheet 3' Col D

Then to clear contents in sheet 2 Col A-K ( data from row 5) and 'Sheet 3' Col A-D (data from row 5)

Kind Regards,
Dan
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,214,788
Messages
6,121,600
Members
449,038
Latest member
Arbind kumar

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