Excel VBA - Rotating 3D Sphere (MS Excel Animation)

Поділитися
Вставка
  • Опубліковано 19 вер 2019
  • Microsoft Excel animation.
    Animated 3D circle (sphere).
    How to create a 3-D circle (sphere) using the oval shape in Excel?
    How to make the sphere to rotate?
    This video shows a step by step tutorial on the creation of a rotating or turning sphere using VBA.
    Important syntax:
    Sheet1.Shapes.Range(Array("Oval 1")).ThreeD.RotationX = Sheet1.Shapes.Range(Array("Oval 1")).ThreeD.RotationX - 1
    Looking for earth rotation/revolution?
    👉 • Excel VBA - Earth Rota...
    Only available for MS Excel versions 2019 and above
    Facebook public group for Excel and VBA discussion 👉 / 486402069483674
    Welcome to join 🤗

КОМЕНТАРІ • 24

  • @johnvanrensburg187
    @johnvanrensburg187 4 роки тому +2

    Awesome, well done and thank you for posting :)

    • @ahsingtv
      @ahsingtv  4 роки тому

      Thanks and my pleasure!
      Thanks for watching and have a nice day :)

  • @amyroamyro8344
    @amyroamyro8344 10 місяців тому

    thats great!!! thank you for posting

    • @ahsingtv
      @ahsingtv  10 місяців тому +1

      Thanks! My pleasure. Thanks for watching and have a nice day.

  • @esbi1124
    @esbi1124 3 роки тому +1

    Hello, good job. Thanks.

    • @ahsingtv
      @ahsingtv  3 роки тому

      Thanks! It's my pleasure to share :)
      Thanks for watching and have a nice day.

  • @maheshsharma6529
    @maheshsharma6529 3 роки тому

    💯💯💯

    • @ahsingtv
      @ahsingtv  3 роки тому

      Thanks :)
      Thanks for watching and have a nice day.

  • @lizsantiago
    @lizsantiago 4 роки тому

    this is awesome! can you do the same for a powerpoint I have looked all over the internet how to do the same but with a 3d dice so it spins is tahtpossible?

    • @ahsingtv
      @ahsingtv  4 роки тому +1

      Thanks!
      Regarding your question, there is a method to rotate an oval in MS PowerPoint using VBA. However, the result might not be satisfied or as expected. This is because the oval might not rotate as smooth as in MS Excel.
      To get the thing done, we just have to change
      Sheet1.Shapes.Range(Array("Oval 1")).ThreeD.RotationX = Sheet1.Shapes.Range(Array("Oval 1")).ThreeD.RotationX - 1
      to
      ActivePresentation.Slides(1).Shapes(1).ThreeD.RotationX = ActivePresentation.Slides(1).Shapes(1).ThreeD.RotationX - 1
      Hope it helps. Thanks for watching and have a nice day.

  • @rjaquaponics9266
    @rjaquaponics9266 2 роки тому +1

    Is it possible to display and move the sphere on a Userform?

    • @ahsingtv
      @ahsingtv  2 роки тому +1

      Hi, as I know, cannot.
      Thanks for watching and have a nice day.

  • @henrymortega5316
    @henrymortega5316 Рік тому

    hi it can be possible in 3d models?

    • @ahsingtv
      @ahsingtv  Рік тому

      Hi Henry. Yup, just like what I did in ua-cam.com/video/ULG8SJkMKU8/v-deo.html
      Btw, for 3D models, we may try to look for if there is any animated model that matches our requirements before writing VB coding, since it is free 😉
      Thanks for watching and have a nice day.

  • @saahilagarwal8248
    @saahilagarwal8248 2 роки тому +1

    Hi sir, I want to insert a earth image and rotate. I have ms
    office 7. I need to rotate an earth image in excel with the help of button. Is it
    possible in excel ? thank you.

    • @ahsingtv
      @ahsingtv  2 роки тому

      Hi Saahil. Sorry to say, not really possible as the image is in 2D format which can lead to missing parts when rotating.
      Thanks for watching and have a nice day.

    • @saahilagarwal8248
      @saahilagarwal8248 2 роки тому

      @@ahsingtv ok sir thank you.... if not possiable in excel..... in word or power point ?

    • @ahsingtv
      @ahsingtv  2 роки тому +1

      erm, neither since the coding system is more or less the same.
      C++ and html can do that. However, is out of my capability 😢

    • @saahilagarwal8248
      @saahilagarwal8248 2 роки тому

      @@ahsingtv okay thank you

    • @ahsingtv
      @ahsingtv  2 роки тому

      No problem.

  • @sijojseph9705
    @sijojseph9705 4 роки тому +1

    I can't read the code you have written. It's so small to understand.

    • @ahsingtv
      @ahsingtv  4 роки тому +2

      Hi.
      Is this "Sheet1.Shapes.Range(Array("Oval 1")).ThreeD.RotationX = Sheet1.Shapes.Range(Array("Oval 1")).ThreeD.RotationX - 1" you looking for?

    • @sijojseph9705
      @sijojseph9705 4 роки тому

      @@ahsingtv Thank you very much!!!

    • @ahsingtv
      @ahsingtv  4 роки тому

      My pleasure.
      Thanks for watching and have a nice day.