I have a table of data, seomthing like the below
I already have vba code that copys data from the Description, Qty, Unit column based on a criteria of the rate column.
What I end up with is a list of all the descriptions, qty & units on a single page.
What I now waht to do is have the VBA code create seperate worksheets based on the supplier column (1 for each supplier) and have the relevant information copied onto each of the worksheets.
I'm thinking I need to use for "For Each" statements but this is beyond my current capilities.
Please help
Code:
Ref | Description | Qty | Unit | Rate | Total | Supplier
| | | | | |
A | Widget 1 | 10 | Nr | £5.00 | £50.00 | ABC
B | Widget 2 | 50 | Nr | £2.00 | £100.00 | DEF
etc.
etc.
I already have vba code that copys data from the Description, Qty, Unit column based on a criteria of the rate column.
What I end up with is a list of all the descriptions, qty & units on a single page.
What I now waht to do is have the VBA code create seperate worksheets based on the supplier column (1 for each supplier) and have the relevant information copied onto each of the worksheets.
I'm thinking I need to use for "For Each" statements but this is beyond my current capilities.
Please help