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
 
Thank you Fluff for such an elegant solution. It works perfectly and I'm very grateful to you.
Regards Graham
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,210
Members
448,554
Latest member
Gleisner2

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