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.

Facebook
Twitter
LinkedIn

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

    1. 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.

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

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

  3. Chandoo!!!

    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

  4. =UPPER(CHAR(117)&CHAR(32)&CHAR(114)&CHAR(32)&CHAR(114)&CHAR(32)&CHAR(116)&CHAR(104)&CHAR(101)&CHAR(32)&CHAR(98)&CHAR(101)&CHAR(115)&CHAR(116))&”!!!!!”

  5. 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!!!!!!!!!!!!!!!!!!!!!!!!!

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

  7. 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.

    1. 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.

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

  9. Chandoo you have nailed it.
    Here in Kenya we say -“heshima” to imply hats-off.
    Bravo!

    1. @Ahamed

      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?

  10. @Hui

    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..

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.