• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Making a macro

sayedsiddiq

New Member
Hi Team

I have attached a sample file in which there are 3 sheets. the 1st where we make the recipe and the 2nd where the order is places as how many of these dishes has to be prepared according to date wise.

I am not that good in VB so please help me to make a macro when run on the Shopping List will pick the dish names according to date wise and then show the ingredients by multiplying the ingredients with the no of dishes.

Thanks,
Siddiq
_________________________________________________________________
Mod edit : post moved to appropriate forum
 

Attachments

  • Book1.xls
    23 KB · Views: 6
Last edited by a moderator:
Hi sayedsiddiq,

Is this proposal help you?
Just press the command button.
 

Attachments

  • Book1_13112015_1440.xlsm
    26.5 KB · Views: 6
Hi Villalobos,
Thank you very much for such a quick reply. Just wanted to add 1 more set that is all the Recipe, ingredients use should come automatically in the shopping sheet like made in the attached file. There will be only date option to choose and the make shopping list button.

The chef will update the order list that is going to be made and by clicking the make shopping list button the store keeper will get all the list he has to purchase.
 
Hi Villalobos,

Could you please help me as I am stuck or is there any other way in which I can combine data from 2 tables and show it on the 3rd sheet using pivot.

Thanks,
Siddiq
 
Hi sayedsiddiq,

Is this proposal help you?
Just press the command button.
Hi Villalobos,
Thank you very much for such a quick reply. Just wanted to add 1 more set that is all the Recipe, ingredients use should come automatically in the shopping sheet like made in the attached file. There will be only date option to choose and the make shopping list button.

The chef will update the order list that is going to be made and by clicking the make shopping list button the store keeper will get all the list he has to purchase.

or is there another way to combine data from 2 tables and show the result using pivot. Basically I am trying to pick the items that are going to be prepared according to date wise and provide a shopping list.

Thanks,
Siddiq
 
Back
Top