Ok, so you have written a shiny new macro to solve all the problems. The macro, solveWorldProblemsAndMakeSomeCoffee() sits nicely in your personalmacros.xlam file somewhere in C drive. You have also installed the macro as an add-in so that it is always available.
But wait!!!
How do you run your sWPAMSC everyday in the morning?
(ok, wake up now!!!, that is short for solveWorldProblemsAndMakeSomeCoffee())
One way is to,
- Right click on sheet name
- Select View Code
- Navigate to the VBA Project corresponding to your personalmacros.xlam file
- Yawn!
- Open the module with sWPAMSC
- Run the macro
But, shouldn’t this be faster and smarter than that?
Well, it is. You can add your macro to Quick Access Toolbar so that you can run it with just a click (or by pressing a shortcut).
Here is how you can add macros to Quick Access Toolbar (Excel 2007 Version):
- First write your macro and save the workbook as an excel add-in.

- Now, install the add-in by going to Office Button > Excel Options > Add-ins
- Now, right click on QAT and select Customize

- Select Macros from “choose commands…” option.

- Now, select the macro you want to add to QAT and then press Add button

- This will add your macro to QAT with default icon. You can change the icon using Modify button.

- That is all.
Here is how you can add macros to toolbars in Excel 2003:
- First write your macro and save the workbook as an excel add-in.
- Go to Tools > Customize
- Now, click on New button to create a new toolbar.

- Give it a name. Now your new toolbar will show up in Excel 2003 UI.
- Go to Commands tab and select Macros from left. Now drag the smiley icon from right to your new empty toolbar.

- You have added a new button to your toolbar. Now click on it.
- Excel will prompt you to assign a macro to that button. Select the macro from the list shown (it includes the macros in your add-in file).
- That is all.
Now go solveWorldProblemsAndGetSomeCoffee()
How do you customize your QAT / Toolbars ?
Customizing quick access toolbar can be a very productive thing to do. I used to have a bunch of macros added to QAT for quickly accessing them when I was working.
What about you? How do you customize QAT or toolbars? Do you add macros? Share your experience using comments.






















4 Responses to “How windy is Wellington? – Using Power Query to gather wind data from web”
Breaking - Wind jokes at Chandoo
Kiwis sniffing for clues about blog post reason
It's confirmed: Wellington is windier than Uranus.
Acompanhando e aguardando ansiosamente a segunda parte.
[]s.
[Google translate]: Accompanying and eagerly awaiting the second part
hi chandoo,
i've tried using power query, however i face a rather weird problem. when i click on 'from web' option, the URL window does not show option for basic and advanced. thus i'm unable to form parameters in URL. how i can resolve this issue?