All articles with 'VBA' Tag
Hello everyone. Stop reading further and go fetch your helmet. Because what lies ahead is mind-blowingly awesome.
About a month and half ago, we held our annual dashboard contest. This time the theme is to visualize state to state migration in USA. You can find the contest data-set & details here.
We received 49 outstanding entries for this. Most of the entries are truly inspiring. They are loaded with powerful analysis, stunning visualizations, amazing display of Excel skill and design finesse. It took me almost 2 weeks to process the results and present them here.
Click on the image to see the entries.
Continue »Implementing Modular Spreadsheet Development – a walkthrough
This article is written by Michael Hutchens from Best Practice Modelling.
In the first article on Modular Spreadsheet Development, we got a high level overview of Modular Spreadsheet Development principles. This article discusses the practical implementation of these principles in Excel.
From my experience using Modular Spreadsheet Development over the past decade, there are three increasingly-efficient methods of implementation in Microsoft Excel:
1. Manual implementation;
2. VBA automated implementation; and
3. Commercial add-in implementation.
This article provides a comprehensive overview of each of these methods and a summary of their advantages and disadvantages.
Continue »Excel Links – Delay in State migration visualization results edition
Hello friends,
First a quick update about state migration visualization contest.
We got more than 50 wonderful entries for this contest. I have compiled 50% of the entries. Due to personal reasons (its annual vacation time at our household), I had to delay the rest and resume it after first week of June. So the results will be announced in 2nd week of June. Thanks for understanding and your patience. Watch this space for mind-boggling dashboards in 3 more weeks.
Click “Read more” to get a sneak-peek at 3 random entries & 4 useful Excel links.
Continue »CP008: 6 Tips to handle workbooks made by someone else, #4 is something I struggle with too!
Podcast: Play in new window | Download
Subscribe: Apple Podcasts | Spotify | RSS
Here is a problem we all face once in a while. We inherit this bulky, bloated, leaking at the edges workbook from a colleague. Now the onus of maintaining it is on us. The person who made this workbook is nowhere to be found. May be she is vacationing in Hawaii sipping pineapple juice. May be he became a vice president and roaming the country in your company’s private jet.
So what do we do? How do we handle this inheritance?
That is the topic of our podcast, episode 8.
In this podcast, you will learn,
- An overview of the inheritance problem
- 6 Tips to understand workbooks made by someone else
- Tip 0: Talk to the creator
- Tip 1: Model the workbook on paper
- Tip 2: Locate the engine, ie the formulas
- Tip 3: See what else is under the hood – hidden sheets, names, VBA code
- Tip 4: Annotate (add comments) as you learn
- Tip 5: Locate the controls – inputs, assumptions, scenarios
- Tip 6: Re-construct from scratch
- Deep dive in to understanding the formulas
- Deep dive in to understanding VBA code
- Conclusions
Building a simple timer using Excel VBA to track my Rubik’s cube solving speed [case study]
Today, lets learn how to make a simple timer app using Excel. First some background…,
Recently, I learned how to solve Rubik’s cube from my nephew. As a budding cuber, I wanted to track my progress. Initially I used the stopwatch in my iPhone. But it wont let me track previous times. So I thought, “Well, I can use Excel for this”.
So I made a small timer app using Excel. Its quite minimalistic. It has a single button. I press it and it tracks the start time (date & time stamp). If I press the button again, it records the duration.
This way, I can see my progress over next few weeks and may be plot the trend.
Continue »CP006: How to be a better analyst? – Road map for getting better at Data Analysis & Improving your career prospects
Podcast: Play in new window | Download
Subscribe: Apple Podcasts | Spotify | RSS
In the 6th session of Chandoo.org podcast, we focus on making you a better analyst and propose a road map for getting better at data analysis & improving your career prospects.
In this podcast you will learn,
- Why become a better analyst?
- The road map for becoming a better analyst – BETTER framework
- B for Business Knowledge
- E for Examining user needs
- T for Thinking about analysis
- T for Tools of Trade ie Excel
- E for Expression
- R for Refining yourself
- Conclusions
CP005: Introduction to Form Controls – an interview with Debra Dalgleish
Podcast: Play in new window | Download
Subscribe: Apple Podcasts | Spotify | RSS
In the 5th session of Chandoo.org podcast, we are going to demystify form controls.
I am very happy and excited to interview my good friend, fellow Excel MVP, author, blogger and virtual mentor – Debra Dalgleish about this topic.
In this podcast, you will learn,
- What are form controls
- When you would use them?
- Example form control – Combo box
- How form controls differ from active-x controls
- How to enable form controls in your Excel?
- Various important form controls
- Special bonus & how to obtain it
Dynamic dropdowns are a handy way to get your users to make choices based on what they’ve previously chosen, while steering them away from making invalid choices. Today we’re going to look at one that easily handles multiple levels, and we’ll take a look at what could go wrong. Let’s see one in action, shall […]
Continue »What is your favorite Excel book? [open thread]
Today lets talk about Excel books. The question is simple.
What is your favorite Excel book? Please share your answers using comments.
My favorite books are..,
Continue »Did Jeff just chart?
How do you segment customers by revenue easily in Excel, so that you can see which customer groups to focus on. Find out, and download this handy template.
In this charting example, Jeff, our guest author, occasional charter and Excel wizard shows us how to segment customers based on revenue and depict the result using Excel charts.
Continue »Top 10 things I learned using Excel for a decade
Sometime during the 2nd half of 2013, I finished 10 years of Excel usage. In the last 10 years, I completed my studies, got my first job, married, had kids, visited 15 different countries, quit my job to start a business, bought first car, first house, made dozens of new friends, read 100s of books, wrote a book and learned 1000s of new things. And all along, Excel stayed a true companion. Right from MBA entrance exam preparation in 2003 to making my summer internship project reports in 2005 to planning my wedding expenses in 2007 to getting a promotion in 2009 to planning my kids feeding schedule in 2010 to running a successful business in 2014, Excel helped me in every step.
So today, I want to tell you the top 10 things I learned using Excel in last decade. Grab a hot cup of coffee, buckle your belts and get ready for time travel.
Continue »Making a slick on/off switch using Excel & little bit of VBA [case study]
I have a confession to make.
I am not sure how to describe this new thing I made in Excel / VBA. So first take a look at it.
Read on to learn how you can create something like this using Excel & a little bit of VBA.
Continue »Secret Agent KV’s Chops…what’s in HIS Personal Macro Workbook?
Yesterday, I talked about how you don’t have to know how to code in order to highly leverage VBA. All you need to know is how to Google, Cut, and Paste. As discussed then, I ‘volunteered’ KV under pain of exposure to empty the contents of his secret satchel onto the virtual table, so that […]
Continue »What would James Bond have in his Personal Macro Workbook?
You know, I‘m constantly amazed at the depth of knowledge and wisdom that comes up in the comments of this site. For instance, the other day, undercover Excel secret agent KV came up a great list of interview questions in response to Chandoo’s great article What are best Excel interview questions?
I particularly liked this one:
Do you have a Personal Macro Workbook setup ? If yes, what are the most common macros you use in your daily work?
Secret Agent KV obviously has some purpose-built gadgets that he employs to kill inefficiencies. And he obviously also knows the two top-secret reasons to keep code in a Personal Macro Workbook:
- To keep it safe from international spy rings.
- So you can whip it out whenever you are cornered by any evil-looking spreadsheet.
While that first point is important, that second is the clincher: code stored in a personal workbook can be unleashed with a simple judo-chop to the throat.
Today, lets understand how to setup your personal macro workbook and open a secret passage-way to Excel awesomeness.
Continue »Show pop-up calendar upon right click [Excel VBA]
There are times when we are entering dates into several columns and would like to select a date from a popup calendar instead of manually typing.
Today, lets understand how we can set up a pop-up calendar in Excel so that your users can easily input dates by right clicking on a cell and inserting a date.
Continue »