PowerPoint Hints, Tips & Tutorials |
||
Making a game that needs dice? STOP PRESS Its pretty hard to create a dice type function in Powerpoint and most solutions need vba. Maybe your vba skills are not up to this or vba is not suitable. Vba can create major problems if the user has high security settings and won't run at all if the viewer is used. Here's a presentation that uses only normal Powerpoint animations but gives random "throws" of a spinner. You're welcome to download and freely use the demo which is fully working but watermarked.
See also the newer site here to buy vba Using vba to create a random number. This is how to create random number within a given range Number =Int ((highest number - (one less than lowest number) *rnd)+lowest So for a range 10 to 20 Inum=Int (( 20-9) * rnd) +10 or Int (11*rnd)+10 To jump to a random slide between 10 and 20 Sub randjump Or to make random shapes visible or not substitute ActivePresentation.Slides(1).Shapes(Inum).Visible=msoFalse (Change slide number as required) |
Screen shot |
|
www.technologytrish.co.uk home While we make every effort to verify the accuracy of all information Technology Trish Ltd cannot be held responsible for any damage to files. It is good practice to work on a copy of the file. |