Hi,
I have a database of customer accounts and open invoices in one sheet (MasterSheet)
I have a CustomerTemplate sheet, which is the template I would like to fill for each customer.
I am trying to achieve the following;
If anyone can assist me with a VBA for this it would be appreciated.
Thank you,
I have a database of customer accounts and open invoices in one sheet (MasterSheet)
I have a CustomerTemplate sheet, which is the template I would like to fill for each customer.
I am trying to achieve the following;
- Create a new sheet of CustomerTemplate for each customer, naming each sheet customer number (Col. B MasterSheet)
- In each new customer sheet, copy Customer Number into cell: B3
- In each new customer sheet, copy Customer Name into cell: B4
- Each customer sheet has a table with 7 fields. These are:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Invoice Number[/TD]
[TD]Type[/TD]
[TD]Date of Issue[/TD]
[TD]Due Date[/TD]
[TD]Amount[/TD]
[TD]Comment[/TD]
[TD]Reference[/TD]
[/TR]
[TR]
[TD]Col. D[/TD]
[TD]Col.E[/TD]
[TD]Col.N[/TD]
[TD]Col.T[/TD]
[TD]Col.P[/TD]
[TD]Col.K[/TD]
[TD]Col.L[/TD]
[/TR]
</tbody>[/TABLE]
* Columns above, refer to MasterSheet columns of original data. - I would like the macro to copy for each customer each line into their customer sheet, in the table.
- Each customer will have 1 or more invoices (lines) in MasterSheet
If anyone can assist me with a VBA for this it would be appreciated.
Thank you,