Dear Experts,
I have flight sales for each day in a separate tab and the end of the month I need to bring all tabs in Summary Tab.
Need help to please with some VBA code please.
Shown below as a sample 2 days tabs and a summary tab.
I have flight sales for each day in a separate tab and the end of the month I need to bring all tabs in Summary Tab.
Need help to please with some VBA code please.
Shown below as a sample 2 days tabs and a summary tab.
Flights.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Day No. | Customer No. | Customer Name | Credit / Cash Sale | FLT. NO. | Receipt No. | Quantity | ||
2 | 1 | 1009 | Emirates | Cash | EK-687 | 60023 | 67800 | ||
3 | 1 | 1006 | Saudi | Cash | SA-712 | 60024 | 50000 | ||
4 | 1 | 1008 | German | Credit | LH-890 | 60025 | 76000 | ||
5 | 1 | 1005 | Pakistan | Credit | PK-214 | 60026 | 80000 | ||
6 | 2 | 1009 | Emirates | Cash | EK-687 | 60027 | 74000 | ||
7 | 2 | 1006 | Saudi | Cash | SA-712 | 60028 | 82000 | ||
8 | 2 | 1008 | German | Credit | LH-890 | 60029 | 98000 | ||
9 | 2 | 1005 | Pakistan | Credit | PK-214 | 60030 | 69000 | ||
Flight summary |
Flights.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Day No. | Customer No. | Customer Name | Credit / Cash Sale | FLT. NO. | Receipt No. | Quantity | ||
2 | 1 | 1009 | Emirates | Cash | EK-687 | 60023 | 67800 | ||
3 | 1 | 1006 | Saudi | Cash | SA-712 | 60024 | 50000 | ||
4 | 1 | 1008 | German | Credit | LH-890 | 60025 | 76000 | ||
5 | 1 | 1005 | Pakistan | Credit | PK-214 | 60026 | 80000 | ||
Flight day 1 |
Flights.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Day No. | Customer No. | Customer Name | Credit / Cash Sale | FLT. NO. | Receipt No. | Quantity | ||
2 | 2 | 1009 | Emirates | Cash | EK-687 | 60027 | 74000 | ||
3 | 2 | 1006 | Saudi | Cash | SA-712 | 60028 | 82000 | ||
4 | 2 | 1008 | German | Credit | LH-890 | 60029 | 98000 | ||
5 | 2 | 1005 | Pakistan | Credit | PK-214 | 60030 | 69000 | ||
Flight day 2 |