EdenC
05-14-2011, 02:29 AM
Hi Guys,
I have zero experince in VBA (although I do have experince in other languages eg. Python) and for a project in IT need to make a powerpoint.
I thought that I could easily create a few things witht the help of VBA but it turns out that its harder than I think.
Please could you help me with the following:
1 - I've created a "Whats Your Favourite Dish" section using option buttons which I have programmed to change what is in each section of the dish. For example, under vegatables I have three options, choosing carrots will change the vegatable variable to carrots and advance to the next slide. I also want it to increase a variable called price by a certain amount. How would I do this? (I tried "Price =+ 0.5" and "Price = Price + 0.5" but they didn't seem to work)
2 - After the options, the user should then get a message on a slide that says what his/her favourite meal contains and how much it would cost them. How would a write this so that the message appears in the slide and how does String Concatenation work in VBA?
A picture of my VBA code can be found when adding the following to the end of bitly: kNHmC1
My powerpoint can be download here (it looks crap on a large screen and uses custom fonts which you won't be able to see) (again bitly): iuUVTP
Thanks!
I have zero experince in VBA (although I do have experince in other languages eg. Python) and for a project in IT need to make a powerpoint.
I thought that I could easily create a few things witht the help of VBA but it turns out that its harder than I think.
Please could you help me with the following:
1 - I've created a "Whats Your Favourite Dish" section using option buttons which I have programmed to change what is in each section of the dish. For example, under vegatables I have three options, choosing carrots will change the vegatable variable to carrots and advance to the next slide. I also want it to increase a variable called price by a certain amount. How would I do this? (I tried "Price =+ 0.5" and "Price = Price + 0.5" but they didn't seem to work)
2 - After the options, the user should then get a message on a slide that says what his/her favourite meal contains and how much it would cost them. How would a write this so that the message appears in the slide and how does String Concatenation work in VBA?
A picture of my VBA code can be found when adding the following to the end of bitly: kNHmC1
My powerpoint can be download here (it looks crap on a large screen and uses custom fonts which you won't be able to see) (again bitly): iuUVTP
Thanks!