Hi everyone, so here's my project that I need help with:
I want to write a macro, which helps me generating a bill.
I have 15 different main products which can be bought: Prog11 to Prog51 (only 1 possible at a time!). Each time there may or may not be additional accessoires purchased with them: OilFull, OilHalf, Cool, WindowFull, WindowHalf.
So starting with product "Prog11" I want it to prompt different values on "sheet2" to be filled. Dat1 and Kenn1 will always be manually filled our by me, but I am not sure how to associate different attributes of "Prog11", like it's price with the respective cell in "Sheet2", in this case previously declared as "Prc2"
Question for a start:
See the IF function below, this is how I want to write it --> If Prog11 takes value=1, then copy dat1 and kenn1 to sheet2 (already works) and price of prog11 (lets say 11,00 €) into "Prc2"
Bookmarks