@@PPTVBA Hi i did in properly way but still the dices are not there, I heard the sound , when i did undo i see the dices are worked randomly . please need to help
Love the steps! If I try it and click on the slideshow, my dice are gone??? or if I get them to magically appear, they give the same numbers the whole time??? This is breaking my brain!!!
Hi, I've tried using 1 dice but it doesn't work. I've enabled macros and am on windows and followed the steps, but the dice doesn't appear when I start the presentation. I can see the dice has changed when I close the presentation, but it doesn't load the animation when PPT mode is on.
Hi I followed the steps and I was able to randomize the result..the only thing thats not working with me is the effect. When I click on it, it doesnt turn it just give me random face of the die. No spinning effect. Could it be because of the laptops graphics?
Hi, I've just created this slide. I've enabled macros, but it's still not randomising. Im not sure where I've gone wrong. Any help would be appreciated
I have found the problem. It seems that PowerPoint doesn't know what to run first when you click the rectangle: the macro, or the animations. When you insert Action for the rectangle, choose "SpinDice" in "Run macro" of the MOUSE OVER tab, not the Mouse Click tab. By doing this, when the cursor hovers over the rectangle, the macro will run, and when you click the rectangle, the dices will randomize.
@@rizmej6165 mine wont either. If I do this on mouse click it will do nothing. If I remove macro it will move dice like one facet (a few degrees) then stop. If I do this on mouse over the dice roll, but always on same side. Not random at all.
It's almost like running the macro inhibits the animation. Like I can only run one or the other. Macro will re-position dice, but not 'roll' them through jump turn animation when I click on trigger.
Thnx for the tutorial very helpfull. I have one issue see dices randomise but not in presentation mode same happens when i use your downloadable template??
Hi, I've just created this slide. I've enabled macros, but it's still not randomising. Im not sure where I've gone wrong. Any help would be appreciated@@PPTVBA
Where are the values of the dice being stored? If they are? I tried adding a text box to store R but it never matches the dice value. Is the dice/shape value available anywhere?
The dice is a 3D object. We are generating a random number from 1 to 6 using RND function which is stored in an integer. Based on that, the 3D object's X, Y and Z rotation parameters are modified. The code (along with the free download file) is available on my website. The link is on the description.
@@PPTVBA so because it is an object and we are just rotating it about, the face value of the dice that is shown to the user isn't something I can return in code. So if I wanted to move to a slide based on the number on the dice, I can't do that dynamically?
The face value is returned on the basis of the rotation, the rotation is predetermined from a random number 1 to 6, which represent the face value. Try experimenting with the code! If you want to jump to a slide based on the face value, you can just use the random number value for the face value.
Hello, thank you so much for the tutorial. It very very simple. I have a problem with my button Spin it, if i click the button the text appear selected, and it s all.
I followed your steps the same, the randomizing works but the animation doesn't trigger. I have to put the spin button for animation and stop button for randomize separately. Do u know how to solve this?
@@PPTVBA i downloaded the file from your site and the animation seems not working too. But that's fine i can put animation and randomizing on 2 different button
Unfortunately, Microsoft hasn't brought the functionality to Mac, yet. Hence, it doesn't work on a Mac. The same is mentioned in the video description.
Hi, I went through your email. 00:35 shows us renaming the 3D object to 'dice1' and 'dice2'. The code also corresponds to the same. Since you had a different name for your dice, the code didn't know which 3D object to target as there was no shape with the name 'dice1' and 'dice2'. So, please name it exactly or change the name of the shape in the code. You can also download our free dice template! Thanks!
What's the PowerPoint version that you're using? What's your Operating System? I can help you out once I know that. There are a lot of nuances due to Microsoft not keeping the system standalone. So, we'll have to make alterations based on the nittygritties of your device.
hi im your student .. i just want to know if i made my quiz game show then how to upload on play store and how to made paid game show ??????????? kindly sir guide me please
Hi! VBA is compatible only on Windows and MacOS. Hence, it can't be run on Android. You should look into learning JavaScript to make web apps, or Fluttrt for Android development.
@@andrestanley_literaturadepeso That's odd, why don't you send me your file? I'll have a look. Have you downloaded our template from the website? Also, make sure you've enabled VBA Macros.
You can download our template and check it out. Your file probably has an error with the coding, the most common one is that the shape name mentioned in your code is not exactly the same as the actual shape name. Else, your device doesn't have macros/vba enabled. Also, note: the 3D dice randomisation works only on Windows, and not on MacOS.
Please confirm you have the latest version of PowerPoint installed for the 3D Object randomisation. You can also download our free file and check it out (make sure you unblock the file, enable editing and macros, for the code to work). If problems still persist, feel free to email me your file and I'll have a look at it!
Your way of explaining complex things is really very simple. Even a 5 year old kid can learn through your videos, thanks a lot man.
Thank you so so much man 🥺🥺 that means a lot to me!
@@PPTVBA Hi i did in properly way but still the dices are not there, I heard the sound , when i did undo i see the dices are worked randomly . please need to help
I can't seem to get it to randomise. Every time I press the trigger it just gives me the face that it started with. What could I be missing? sorry
same here :(((
You deserve a subscription! Going to look into more of your vids. from Malaysia 🇲🇾
Thank you very much!
Love the steps! If I try it and click on the slideshow, my dice are gone??? or if I get them to magically appear, they give the same numbers the whole time??? This is breaking my brain!!!
my randomiser doesnt work ive followed it step by step any suggestions?
Brother so cool works nice
Hi, I've tried using 1 dice but it doesn't work. I've enabled macros and am on windows and followed the steps, but the dice doesn't appear when I start the presentation. I can see the dice has changed when I close the presentation, but it doesn't load the animation when PPT mode is on.
Hi I followed the steps and I was able to randomize the result..the only thing thats not working with me is the effect. When I click on it, it doesnt turn it just give me random face of the die. No spinning effect. Could it be because of the laptops graphics?
Esta muy bueno este video, genial para principiantes
Que genial.
Gracias 😊
Hi, I've just created this slide. I've enabled macros, but it's still not randomising. Im not sure where I've gone wrong. Any help would be appreciated
I have found the problem. It seems that PowerPoint doesn't know what to run first when you click the rectangle: the macro, or the animations. When you insert Action for the rectangle, choose "SpinDice" in "Run macro" of the MOUSE OVER tab, not the Mouse Click tab. By doing this, when the cursor hovers over the rectangle, the macro will run, and when you click the rectangle, the dices will randomize.
Hi i tried your suggestion but it still dont randomize
This works thanks
@@rizmej6165 mine wont either. If I do this on mouse click it will do nothing. If I remove macro it will move dice like one facet (a few degrees) then stop. If I do this on mouse over the dice roll, but always on same side. Not random at all.
What versions of Microsoft Office are y'all using?
It's almost like running the macro inhibits the animation. Like I can only run one or the other. Macro will re-position dice, but not 'roll' them through jump turn animation when I click on trigger.
My goodness! You did an awesome job. Thanks so much. What do I save it as on PowerPoint? Is it possible to transfer it to another platform?
You'll need to save it as .pptm file. Unfortunately this would work only on PowerPoint, no other platform!
Thnx for the tutorial very helpfull. I have one issue see dices randomise but not in presentation mode same happens when i use your downloadable template??
Have you enabled your macros? What operating system are you in?
Hi, I've just created this slide. I've enabled macros, but it's still not randomising. Im not sure where I've gone wrong. Any help would be appreciated@@PPTVBA
I finished making them but it can't be randomize, it stayed at the same side every time.
Where are the values of the dice being stored? If they are? I tried adding a text box to store R but it never matches the dice value. Is the dice/shape value available anywhere?
The dice is a 3D object.
We are generating a random number from 1 to 6 using RND function which is stored in an integer. Based on that, the 3D object's X, Y and Z rotation parameters are modified.
The code (along with the free download file) is available on my website. The link is on the description.
@@PPTVBA so because it is an object and we are just rotating it about, the face value of the dice that is shown to the user isn't something I can return in code. So if I wanted to move to a slide based on the number on the dice, I can't do that dynamically?
The face value is returned on the basis of the rotation, the rotation is predetermined from a random number 1 to 6, which represent the face value.
Try experimenting with the code!
If you want to jump to a slide based on the face value, you can just use the random number value for the face value.
Thank you))
Hello, thank you so much for the tutorial. It very very simple. I have a problem with my button Spin it, if i click the button the text appear selected, and it s all.
Have you added the macro to the text or the shape? You can send me an email with your file and I can have a look too!
It works, but the animation is not working for me. I'm using 2021 ppt
The dice aren't showing up when spinning, what's the problem?
Why the first tutorial dice not working on me 😢 if i play the slide show no dice will pop up🥹
Are you on Windows or MacOS? What version of Microsoft Office are you using?
Have you downloaded our free template and checked that?
hi.. i already email my slide to you - problem randomizing the dice
I'm running PowerPoint for Mac Version 16.661 via a MS 365 subscription and the macro is not generating the random roll.... is this code compatible?
That's odd. I never had a chance to test this code to change the 'x,y,z' axis on Mac. I'll have a look at this using a MacBook and update you.
@@PPTVBA I can send you the file I made if it helps
Yes, sure! Will have a look.
@@PPTVBA I've emailed the file to you
@@pugh66 Replied!
I followed your steps the same, the randomizing works but the animation doesn't trigger. I have to put the spin button for animation and stop button for randomize separately. Do u know how to solve this?
What operating system and version of Mjcrosoft Office are you on?
@@PPTVBA I'm on window 11, powerpoint 2016
@@phuongthu6971 can you send me your file? I've not faced this issue and I'm unable to replicate the same.
@@PPTVBA i downloaded the file from your site and the animation seems not working too. But that's fine i can put animation and randomizing on 2 different button
Hi I have a MAC M1, the randomize doesnt work on me
Unfortunately, Microsoft hasn't brought the functionality to Mac, yet. Hence, it doesn't work on a Mac. The same is mentioned in the video description.
I downloaded you free template but no dice are still showing up. I use Windows 10 laptop and 2021 version of Microsoft
Please confirm your macro settings. You've probably not unblocked the file and enabled the VBA Macros on your device: www.pptvba.com/faq
Hello, i have a problem randomizing the dice. Can i please send the slide to you so you can see what i am doing wrong?
Yep! Feel free to email it over to me.
Hi, I went through your email. 00:35 shows us renaming the 3D object to 'dice1' and 'dice2'. The code also corresponds to the same. Since you had a different name for your dice, the code didn't know which 3D object to target as there was no shape with the name 'dice1' and 'dice2'. So, please name it exactly or change the name of the shape in the code.
You can also download our free dice template! Thanks!
I don't think the code is running properly, after I paste it in, the dice disappear in presentation mode after selecting the Action for the rectangle.
What's the PowerPoint version that you're using? What's your Operating System? I can help you out once I know that.
There are a lot of nuances due to Microsoft not keeping the system standalone. So, we'll have to make alterations based on the nittygritties of your device.
@@PPTVBA I'm using Windows 11 and Microsoft® PowerPoint® for Microsoft 365 MSO (Version 2401 Build 16.0.17231.20236) 64-bit. Thanks!
@@PPTVBA Windows 11 and Microsoft® PowerPoint® for Microsoft 365 MSO (Version 2401 Build 16.0.17231.20236) 64-bit. Thanks!
hi im your student .. i just want to know if i made my quiz game show then how to upload on play store and how to made paid game show ??????????? kindly sir guide me please
Hi! VBA is compatible only on Windows and MacOS. Hence, it can't be run on Android. You should look into learning JavaScript to make web apps, or Fluttrt for Android development.
@@PPTVBA hi sir .. kindly recommand me best laptop or tablet .. for the best working ...
@@PPTVBA sir. How to make a quiz game in android n earn money .. kindly sir help me
Is there a way to make this work in google slides?
Unfortunately, VBA works only on the offline Microsoft Office of Windows & MacOS.
The random stuff is not working what should be done?
Are you on Windows or MacOS?
@@PPTVBA windows
@@andrestanley_literaturadepeso That's odd, why don't you send me your file? I'll have a look. Have you downloaded our template from the website?
Also, make sure you've enabled VBA Macros.
Hi i tried all the steps but my dice doesn't randomized :(
Share your file with me on email, I'll have a look. What Microsoft office version and operating system do you use?
Its okay now,.tho i already sent you the file. I just renamed the object just like on your video then it worked.
Thank you so much!
The name of your 3D object should be dice1, and not just dice. Glad that it works now!
impossible ,
Random selection never works
You can download our template and check it out. Your file probably has an error with the coding, the most common one is that the shape name mentioned in your code is not exactly the same as the actual shape name.
Else, your device doesn't have macros/vba enabled. Also, note: the 3D dice randomisation works only on Windows, and not on MacOS.
Do macros not work on Office 365?
my office is 365,
Is there really a problem with the code I copied?@@PPTVBA
why its not randomizing?
Please confirm you have the latest version of PowerPoint installed for the 3D Object randomisation. You can also download our free file and check it out (make sure you unblock the file, enable editing and macros, for the code to work).
If problems still persist, feel free to email me your file and I'll have a look at it!
@@PPTVBA Thanks you. You are the best:)
When i remove the animation things seem to work, how funny is that
What version of Microsoft Office and Operating System are you using?
@@PPTVBA Windows 10 enterprise, office 365 powerpoint 2202 (build 14931.20888)
@@plimpy69 that's odd. I've not encountered this 😅
I can't see the dice in presentation mode. Please help!!!