VBA to Copy over Non Contiguous Cells to another Sheet

grf

Board Regular
Joined
Oct 30, 2004
Messages
70
Office Version
  1. 365
Hello Experts

In Sheet INVOICE, I have the Client's Name in A1; The Invoice Slip/No in G1 and Row 10 sees the Headers for the Invoice and they are: A10 Date; B10 Job Description; C10 Hrs/Visits; D10 Rate; E10 Balance; F10 Notes
On Sheet INVDETAILS The Headers on Row A are from A1: Name; B1,Date; C1 Job Description; D1, Hrs/Visits; E1, Rate; F1,Balance; Notes, G1, Slip/No.
I would like to copy the details of each job on the Sheet INVOICE to the Sheet INVDETAILS. But as there could be more than one job included on the INVOICE Sheet, each row of work copied over would be different although the Client's Name on A1 and the Slip/No copied over would remain the same.
Any help pointing me in the right direction would be appreciated.
Regards, Graham
 

grf

Board Regular
Joined
Oct 30, 2004
Messages
70
Office Version
  1. 365
Thank you Fluff for such an elegant solution. It works perfectly and I'm very grateful to you.
Regards Graham
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
62,252
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Forum statistics

Threads
1,141,074
Messages
5,704,147
Members
421,328
Latest member
mippy

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
Top