agrwlnishant
New Member
- Joined
- Sep 9, 2018
- Messages
- 1
Excel 2007
<colgroup><col><col><col><col><col><col><col><col><col span="2"><col><col><col><col><col></colgroup><tbody>
</tbody>
This is a sample data of my report.
In this, I have to usually put a filter in "Item Group" Column with Contains = "Whichever name after the = sign"
Then I copy the data in to a new file along with the heading row and save it.
Is there any way to make a VBA wherein it asks me the "Contains =" Filter every time I run it and then proceeds to filter, copy and paste in to a new file (with all the existing formatting) for me to manually save?
Would be of great help as I generally take 1.5 to 2 hrs with doing it my way.
Voucher Number | Date | Party Name | Item Name | Item Group | Item Description | MRP | Item HSN | Item GST | Acutal Quantity | Rate | Unit | Discount | Discount Amount | Amount |
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 150g Wafer Biscuit - Chocolate @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 12 | 47.67 | Pcs | 0 | 572.04 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 150g Wafer Biscuit - Hazelnut @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 12 | 47.67 | Pcs | 0 | 572.04 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 150g Wafer Biscuit - Orange @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 12 | 47.67 | Pcs | 0 | 572.04 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 150g Wafer Biscuit - Strawberry @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 12 | 47.67 | Pcs | 0 | 572.04 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 150g Wafer Biscuit - Vanilla @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 12 | 47.67 | Pcs | 0 | 572.04 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 28ml Essence - Almonds @59 | Harveys - Silverstar Food | 59 | 3301 | 18 | 12 | 37.50 | Pcs | 0 | 450.00 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 28ml Essence - Banana @59 | Harveys - Silverstar Food | 59 | 3301 | 18 | 12 | 37.50 | Pcs | 0 | 450.00 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 28ml Essence - Blue @59 | Harveys - Silverstar Food | 59 | 3301 | 18 | 12 | 37.50 | Pcs | 0 | 450.00 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 28ml Essence - Raspberry @59 | Harveys - Silverstar Food | 59 | 3301 | 18 | 12 | 37.50 | Pcs | 0 | 450.00 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 28ml Essence - Red @59 | Harveys - Silverstar Food | 59 | 3301 | 18 | 12 | 37.50 | Pcs | 0 | 450.00 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 28ml Essence - Rose @59 | Harveys - Silverstar Food | 59 | 3301 | 18 | 12 | 37.50 | Pcs | 0 | 450.00 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 28ml Essence - Strawberry @59 | Harveys - Silverstar Food | 59 | 3301 | 18 | 12 | 37.50 | Pcs | 0 | 450.00 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 28ml Essence - Vanilla @59 | Harveys - Silverstar Food | 59 | 3301 | 18 | 12 | 37.50 | Pcs | 0 | 450.00 | ||
001/S/18-19/PN | 03-09-2018 | Camp - Dorabjee & Co. Pvt. Ltd. | SF Harveys 28ml Essence - Yellow @59 | Harveys - Silverstar Food | 59 | 3301 | 18 | 12 | 37.50 | Pcs | 0 | 450.00 | ||
002/S/18-19/PN | 03-09-2018 | Super Market Grocery Su Pvt. Ltd | Whistle 60g Multigrain Puffs - Cheese @60 | Whistle | 60 | 2106 | 12 | 12 | 37.50 | Pcs | 0 | 450.00 | ||
002/S/18-19/PN | 03-09-2018 | Super Market Grocery Su Pvt. Ltd | Whistle 60g Multigrain Puffs - Masala @60 | Whistle | 60 | 2106 | 12 | 12 | 37.50 | Pcs | 0 | 450.00 | ||
003/S/18-19/PN | 03-09-2018 | Viman Nagar - Dorabjee & Co. Pvt. Ltd. | Whistle 60g Cheesy Makhana (No Onion Garlic) @100 | Whistle | 100 | 2106 | 12 | 18 | 58.04 | Pcs | 0 | 1044.72 | ||
003/S/18-19/PN | 03-09-2018 | Viman Nagar - Dorabjee & Co. Pvt. Ltd. | Whistle 60g Multigrain Puffs - BBQ @60 | Whistle | 60 | 2106 | 12 | 24 | 34.82 | Pcs | 0 | 835.68 | ||
003/S/18-19/PN | 03-09-2018 | Viman Nagar - Dorabjee & Co. Pvt. Ltd. | Whistle 60g Multigrain Puffs - Cheese @60 | Whistle | 60 | 2106 | 12 | 24 | 34.82 | Pcs | 0 | 835.68 | ||
003/S/18-19/PN | 03-09-2018 | Viman Nagar - Dorabjee & Co. Pvt. Ltd. | Whistle 60g Multigrain Puffs - Masala @60 | Whistle | 60 | 2106 | 12 | 21 | 34.82 | Pcs | 0 | 731.22 | ||
003/S/18-19/PN | 03-09-2018 | Viman Nagar - Dorabjee & Co. Pvt. Ltd. | Whistle 60g Peppery Makhana @100 | Whistle | 100 | 2106 | 12 | 19 | 58.04 | Pcs | 0 | 1102.76 | ||
003/S/18-19/PN | 03-09-2018 | Viman Nagar - Dorabjee & Co. Pvt. Ltd. | Whistle 60g Sunshine Makhana @100 | Whistle | 100 | 2106 | 12 | 24 | 58.04 | Pcs | 0 | 1392.96 | ||
003/S/18-19/PN | 03-09-2018 | Viman Nagar - Dorabjee & Co. Pvt. Ltd. | Whistle 75g Chana Chor - Chilli Lime @40 | Whistle | 40 | 2106 | 12 | 24 | 23.21 | Pcs | 0 | 557.04 | ||
004/S/18-19/PN | 04-09-2018 | Kothrud - M/s N.V. Cashew | SF Harveys 150g Wafer Biscuit - Chocolate @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 4 | 49.58 | Pcs | 0 | 198.32 | ||
004/S/18-19/PN | 04-09-2018 | Kothrud - M/s N.V. Cashew | SF Harveys 150g Wafer Biscuit - Hazelnut @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 4 | 49.58 | Pcs | 0 | 198.32 | ||
004/S/18-19/PN | 04-09-2018 | Kothrud - M/s N.V. Cashew | SF Harveys 150g Wafer Biscuit - Orange @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 4 | 49.58 | Pcs | 0 | 198.32 | ||
004/S/18-19/PN | 04-09-2018 | Kothrud - M/s N.V. Cashew | SF Harveys 150g Wafer Biscuit - Strawberry @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 4 | 49.58 | Pcs | 0 | 198.32 | ||
004/S/18-19/PN | 04-09-2018 | Kothrud - M/s N.V. Cashew | SF Harveys 150g Wafer Biscuit - Vanilla @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 4 | 49.58 | Pcs | 0 | 198.32 | ||
005/S/18-19/PN | 04-09-2018 | Kothrud - Joglekar Foods | SF Harveys 150g Wafer Biscuit - Hazelnut @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 3 | 49.58 | Pcs | 0 | 148.74 | ||
005/S/18-19/PN | 04-09-2018 | Kothrud - Joglekar Foods | SF Harveys 150g Wafer Biscuit - Vanilla @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 3 | 49.58 | Pcs | 0 | 148.74 | ||
005/S/18-19/PN | 04-09-2018 | Kothrud - Joglekar Foods | SF Harveys 28ml Essence - Banana @59 | Harveys - Silverstar Food | 59 | 3301 | 18 | 3 | 39.00 | Pcs | 0 | 117.00 | ||
005/S/18-19/PN | 04-09-2018 | Kothrud - Joglekar Foods | SF Harveys 28ml Essence - Raspberry @59 | Harveys - Silverstar Food | 59 | 3301 | 18 | 3 | 39.00 | Pcs | 0 | 117.00 | ||
006/S/18-19/PN | 04-09-2018 | Kothrud - S.P. Caterers | BA Delicious 1000g Chicken Cheese Garlic Fingers @468 | Delicious - Baramati Agro | 468 | 1602 | 12 | 2 | 330.94 | Pcs | 0 | 661.88 | ||
006/S/18-19/PN | 04-09-2018 | Kothrud - S.P. Caterers | BA Delicious 1000g Chicken Nuggets (Classic) @420 | Delicious - Baramati Agro | 420 | 1602 | 12 | 2 | 281.25 | Pcs | 0 | 562.50 | ||
006/S/18-19/PN | 04-09-2018 | Kothrud - S.P. Caterers | BA Delicious 1000g Chicken Pop Ons (Popcorn) @417 | Delicious - Baramati Agro | 417 | 1602 | 12 | 2 | 279.24 | Pcs | 0 | 558.48 | ||
007/S/18-19/PN | 04-09-2018 | Shivane - Mananjali Sales | BA Delicious 250g Chicken Pop Ons (Popcorn) @130 | Delicious - Baramati Agro | 130 | 1602 | 12 | 10 | 92.86 | Pcs | 0 | 928.60 | ||
007/S/18-19/PN | 04-09-2018 | Shivane - Mananjali Sales | BA Delicious 300g Chicken Rings @155 | Delicious - Baramati Agro | 155 | 1602 | 12 | 8 | 110.71 | Pcs | 0 | 885.68 | ||
007/S/18-19/PN | 04-09-2018 | Shivane - Mananjali Sales | BA Delicious 500g Chicken Nuggets (Classic) @255 | Delicious - Baramati Agro | 255 | 1602 | 12 | 10 | 182.14 | Pcs | 0 | 1821.40 | ||
008/S/18-19/PN | 05-09-2018 | Cash Invoice | MC Cocon 1500g Jelly - Lychee (100 Cups) @300 | Cocon - Magnum Chocolatier | 300 | 17049010 | 12 | 6 | 169.64 | Pcs | 0 | 1017.84 | ||
008/S/18-19/PN | 05-09-2018 | Cash Invoice | MC Cocon 240g Pudding - Mixed (3 Cups) @60 | Cocon - Magnum Chocolatier | 60 | 17049090 | 12 | 32 | 41.79 | Pcs | 0 | 1337.28 | ||
008/S/18-19/PN | 05-09-2018 | Cash Invoice | MC Cocon 708g Pudding - Mixed (6 cups) @150 | Cocon - Magnum Chocolatier | 150 | 17049090 | 12 | 16 | 104.46 | Pcs | 0 | 1671.36 | ||
009/S/18-19/PN | 05-09-2018 | Salisbury Park - Tara Mulchand Sweets | MC Win2 70g Magic Crunch - Chocolate @50 | Win2 - Magnum Chocolatier | 50 | 19059090 | 18 | 2 | 33.05 | Pcs | 0 | 66.10 | ||
009/S/18-19/PN | 05-09-2018 | Salisbury Park - Tara Mulchand Sweets | MC win2 70g Magic Crunch - Strawberry @50 | Win2 - Magnum Chocolatier | 50 | 19059090 | 18 | 2 | 33.05 | Pcs | 0 | 66.10 | ||
009/S/18-19/PN | 05-09-2018 | Salisbury Park - Tara Mulchand Sweets | MC win2 70g Magic Crunch - Vanilla @50 | Win2 - Magnum Chocolatier | 50 | 19059090 | 18 | 2 | 33.05 | Pcs | 0 | 66.10 | ||
009/S/18-19/PN | 05-09-2018 | Salisbury Park - Tara Mulchand Sweets | SF Harveys 110g Wafer Pouch - Chocolate @99 | Harveys - Silverstar Food | 99 | 1905 | 18 | 2 | 65.44 | Pcs | 0 | 130.88 | ||
009/S/18-19/PN | 05-09-2018 | Salisbury Park - Tara Mulchand Sweets | SF Harveys 110g Wafer Pouch - Orange @99 | Harveys - Silverstar Food | 99 | 1905 | 18 | 2 | 65.44 | Pcs | 0 | 130.88 | ||
009/S/18-19/PN | 05-09-2018 | Salisbury Park - Tara Mulchand Sweets | SF Harveys 110g Wafer Pouch - Strawberry @99 | Harveys - Silverstar Food | 99 | 1905 | 18 | 2 | 65.44 | Pcs | 0 | 130.88 | ||
009/S/18-19/PN | 05-09-2018 | Salisbury Park - Tara Mulchand Sweets | SF Harveys 110g Wafer Pouch - Vanilla @99 | Harveys - Silverstar Food | 99 | 1905 | 18 | 2 | 65.44 | Pcs | 0 | 130.88 | ||
009/S/18-19/PN | 05-09-2018 | Salisbury Park - Tara Mulchand Sweets | SF Harveys 150g Wafer Biscuit - Chocolate @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 5 | 49.58 | Pcs | 0 | 247.90 | ||
009/S/18-19/PN | 05-09-2018 | Salisbury Park - Tara Mulchand Sweets | SF Harveys 150g Wafer Biscuit - Hazelnut @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 5 | 49.58 | Pcs | 0 | 247.90 | ||
009/S/18-19/PN | 05-09-2018 | Salisbury Park - Tara Mulchand Sweets | SF Harveys 150g Wafer Biscuit - Orange @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 5 | 49.58 | Pcs | 0 | 247.90 | ||
009/S/18-19/PN | 05-09-2018 | Salisbury Park - Tara Mulchand Sweets | SF Harveys 150g Wafer Biscuit - Strawberry @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 5 | 49.58 | Pcs | 0 | 247.90 | ||
009/S/18-19/PN | 05-09-2018 | Salisbury Park - Tara Mulchand Sweets | SF Harveys 150g Wafer Biscuit - Vanilla @75 | Harveys - Silverstar Food | 75 | 1905 | 18 | 5 | 49.58 | Pcs | 0 | 247.90 | ||
010/S/18-19/PN | 05-09-2018 | Kondhwa - Foodie | Omay 115g Beaten Brown Rice - Desi Mix @120 | Omay | 120 | 2008 | 12 | 2 | 85.71 | Pcs | 0 | 171.42 | ||
010/S/18-19/PN | 05-09-2018 | Kondhwa - Foodie | Omay 140g Beaten Moong @90 | Omay | 90 | 2008 | 12 | 2 | 64.29 | Pcs | 0 | 128.58 | ||
010/S/18-19/PN | 05-09-2018 | Kondhwa - Foodie | Omay 160g Solid Soyabean @90 | Omay | 90 | 2008 | 12 | 2 | 64.29 | Pcs | 0 | 128.58 | ||
010/S/18-19/PN | 05-09-2018 | Kondhwa - Foodie | Omay 165g Oats & Moong Mix @175 | Omay | 175 | 2008 | 12 | 2 | 125.00 | Pcs | 0 | 250.00 | ||
011/S/18-19/PN | 05-09-2018 | MG Road - The Taste Factory | SF Kings Coffee 280ml Cold Coffee - Latte @139 | Kings Coffee - Silverstar Food | 139 | 2202 | 12 | 4 | 96.80 | Pcs | 0 | 387.20 | ||
011/S/18-19/PN | 05-09-2018 | MG Road - The Taste Factory | SF Kings Coffee 280ml Cold Coffee - Mocha @139 | Kings Coffee - Silverstar Food | 139 | 2202 | 12 | 4 | 96.80 | Pcs | 0 | 387.20 |
<colgroup><col><col><col><col><col><col><col><col><col span="2"><col><col><col><col><col></colgroup><tbody>
</tbody>
This is a sample data of my report.
In this, I have to usually put a filter in "Item Group" Column with Contains = "Whichever name after the = sign"
Then I copy the data in to a new file along with the heading row and save it.
Is there any way to make a VBA wherein it asks me the "Contains =" Filter every time I run it and then proceeds to filter, copy and paste in to a new file (with all the existing formatting) for me to manually save?
Would be of great help as I generally take 1.5 to 2 hrs with doing it my way.