I Have Data(in Table) in Sheet 1 as follows
<tbody>
</tbody>
In the same work book , there are 4 sheets named as "P" , "Q" , "vat" , "Total". In each sheet following format has created (similar table)( see eg1 & eg2).
I want one or two macros to run after entering data in to sheet1 in order to fill automatically the relevant sheets . i.e. copy of data relevant to "P" -suppler should go to sheet P as eg1 . copy of data in VAT column should go to sheet "VAT" as per eg2.
note . When i run the macro next time only the un-updated data should be updated in relevant sheets. i.e. When I enter data in to sheet 1 in next week & run the macro ,the data relevant to "P" Supplier should be copied to row number 4 in sheet P (old data should be remained same)
PLS help me.
eg 1.sheet "P"
<tbody>
</tbody>
eg 2. sheet "VAT"
<tbody>
</tbody>
A | B | C | D | E | F |
1 | Date | Invoice_No | Supplier | Vat | Total |
2 | 15/05/2015 | TX1356 | P | 55.15 | 1452.25 |
3 | 15/05/2015 | FZ78 | Q | 0 | 7852.26 |
4 | 16/05/2015 | TX1485 | P | 47.25 | 2578.25 |
5 | 29/05/2015 | FZ89 | Q | 12.36 | 525.00 |
<tbody>
</tbody>
In the same work book , there are 4 sheets named as "P" , "Q" , "vat" , "Total". In each sheet following format has created (similar table)( see eg1 & eg2).
I want one or two macros to run after entering data in to sheet1 in order to fill automatically the relevant sheets . i.e. copy of data relevant to "P" -suppler should go to sheet P as eg1 . copy of data in VAT column should go to sheet "VAT" as per eg2.
note . When i run the macro next time only the un-updated data should be updated in relevant sheets. i.e. When I enter data in to sheet 1 in next week & run the macro ,the data relevant to "P" Supplier should be copied to row number 4 in sheet P (old data should be remained same)
PLS help me.
eg 1.sheet "P"
A | B | C | D | E | F |
1 | DATE | Invoice_No | Supplier | RS | |
2 | 15/05/2015 | TX1356 | P | 1452.25 | |
3 | 16/05/2015 | TX1485 | p | 2578.25 | |
4 | |||||
5 | |||||
6 |
<tbody>
</tbody>
eg 2. sheet "VAT"
A | B | C | D | E | F |
1 | DATE | Invoice_No | Supplier | RS | |
2 | 15/05/2015 | TX1356 | P | 55.15 | |
3 | 15/05/2015 | FZ78 | Q | 0 | |
4 | 16/05/2015 | TX1485 | P | 47.25 | |
5 | 29/05/2015 | FZ89 | Q | 12.36 | |
6 |
<tbody>
</tbody>