Close this search box.

4th of July Fireworks – an Excel animation for you



To all our readers & friends from USA,

I wish you a happy, fun & safe 4th of July.

For the last 4th of July (2013), we (Jo, kids & I) were in USA. We went to Washington DC to meet up a few friends for that weekend. And we had one of the most memorable evenings of our lives when we went to national mall area in the evening to watch beautifully choreographed fireworks. Kids really loved the amazing display of fire-crackers and enthusiasm. (here is a pic, taken by Nakshu, our daughter)

While we all are back in India this time, it doesn’t mean we cant celebrate 4th of July. So I made some fireworks. In Excel of course.

Here is a little Excel animation I made for all of us.

4th of July Fireworks – Excel animation

First watch this quick demo (<15 secs)

Download the 4th of July fireworks workbook

I got the Excel fireworks idea very late in the evening. So the file is not very clean. But easy to understand and play with. Download it here.

How is this made?

Lets spare the detailed tutorial for another day. Here is a quick summary.

  1. Lets assume a fire work goes in a straight line at an arbitrary angle between 75 to 105 degrees (90 being vertical) to a random height.
  2. Lets assume the firework effect creates 40 spokes of a perfect circle whose radius grows as the firework explodes.
  3. So we create a scatter plot with lines & spokes.
  4. Thru VBA, we increase the length of line from 0% to 100%, thus creating firework shooting to sky effect.
  5. Then, we increase the radius of circle from 0% to 100% to create firework explosion effect.
  6. Finally we change the previous line height & circle radius back to 0% before showing next firework.
  7. At last, we toggle the display visibility of message (“Have a fun 4th of July”)

That is all. Here are a few previous examples that detail some of these techniques.

So thats all for now. Enjoy your 4th of July weekend and lets meet Monday with something awesome.


Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

39 Responses to “4th of July Fireworks – an Excel animation for you”

  1. Cesarino says:

    Fireworks in an Excel sheet? It's pure art.
    Congratulations Chandoo.

    • Chandan Mishra says:

      Chandoo....pure imagination...I never thought of FIREWORK in excel and that without any coding. Salute to your thinking.

      I have had been learning from your blog. I sense confidence and can use my imagination as well in designing different dashboard application. Thanks.

  2. You are the man Chandoo!, Great and funny macro!
    cheers from Peru! And also Happy 4th of July to everyone in the States from Lima Peru!

  3. Kristen says:

    Very cool, thanks, Chandoo! Happy 4th!

  4. Sanjeev says:

    You are awesome man.... @chandoo..
    Only Chandoo can think and do like this.................

  5. Guruvardhan says:

    Brilliant piece of digital art... 🙂 Am sure this actually inspires many to look at how this works ~~~ as creative as ever!

  6. Bharani says:


  7. Subrahmanyam Matta says:


  8. Manuel Mtz says:


    You're the man!!!

    I'd learned so much stuff just for reading your posts.

    I'd improved in excel usage quite a bit. Thanks again.

    My best regards for You and your family from Mexico!!!!

    Best regards,

    Manuel "Manny" Martinez

    PS: Mtz is a contraction on my last name

  9. Donald Cartin says:

    As always, you are AWESOME!!!

  10. Hanif says:

    Well done

  11. Rina says:

    Nice Chandoo,
    100% Awesome, two thumbs up for you

  12. TITO JOSE says:


  13. Jude says:

    Its Beautiful

  14. Faisal shahzad says:

    Awesome chandoo,
    You are the grateful man !!!!!!

    It is very helpful for me thanking you.

  15. Nitish says:

    simply awesome, wonderful

  16. Maxime Manuel says:

    Dear Chandoo,
    I use to wonder if you and Mynda Traecy are human. But today you just proved that you are some kind of alien with Excel technology. (Laughs)
    This is mind blowing!!!!!!!!!!!!!!!!!!!!!!!!!

  17. Johnno says:

    Nicely done Chandoo. (I just couldn't resist taking your great work and adding a fireworks sound effect.)

  18. Naina says:

    Wow. Never imagined animation in Excel! This is too good.

  19. Nitin verma says:

    grt chandooooooooooooooooooo

  20. Tom says:

    I love the animation of the fireworks, but when i download the excel file and try to open it, it comes up with the message "This files is not in a recognizable format". It will still open, but it is just a bunch of garbage characters on the page, and there is no vba modules at that point. I have opened other samples indicated on this page such as "Creating a spoke chart in Excel" and that opens just fine. Perhaps this is a corrupted file we are downloading.

    • Chandoo says:

      Hi Tom,

      I just checked and the file works alright. Can you please try again? I think it should work alright in Excel 2010 or above.

  21. Connie says:

    made a piano in excel that records and playback, also include features like changing the key of the song and echo effect

  22. Dennis Del Villar says:

    this is a masterpiece!!! great work in excel...really awesome!!!

  23. Vera Chote says:

    This was just awesome. I keep learning new things from you. Keep it up!

  24. Will says:

    Excel is an amazing tool with your guidance, the world is witness to exactly that. Thank you!

  25. William Kiarie says:

    Chandoo you have nailed it.
    Here in Kenya we say -"heshima" to imply hats-off.

  26. Matthew says:

    Thanks Chandoo. How can I change the picture? I've tried: Ribbon>Page Layout>Selection Pane, but can't see the image to change.

  27. ahamed says:

    Hi all, its not working for me.. i am using excel 2010 pls help me

    • Hui... says:


      It works fine in Excel 2010

      Did you accept the error and down load it ok?
      Did you enable macro's when you open the file?

      Are any errors shown?

  28. ahamed says:


    I have clicked macro enables while opening the file. While I am clicking the start fire work button it does not start. Showing only the "happy 4th july" message..

    Thanks in advance..

  29. ahamed says:

    Or I need to change any thing

  30. ahamed says:

    Now it's working, thank you Hui.....

  31. ahamed says:

    Yes.. it's really nice art.. I am loving it..

Leave a Reply