What you need to know about VBA Programming

If you are someone who uses Microsoft Excel to generate statistics-based business reports, create forecasts or do alot of routine Excel manipulations, this is why you need to know Visual Basic for Applications (VBA).
It makes you work faster. A lot more faster.
Here are some more reasons:
1. All versions of Excel support the VBA programming language.
2. The VBA language is able to control every single aspect of Excel. You can write VBA programs to automatically perform Excel tasks on your behalf!
3. In fact, every Office application like Word, Outlook, PowerPoint can be controlled by VBA!
4. Now imagine what VBA can do for you.




Learn more about VBA programming here.

BP Oil Spill shown in a Microsoft Excel Chart
On 20 April 2010, a BP oil well exploded in the Gulf of Mexico, causing the largest offshore spill in U.S. history. This Microsoft Excel line chart illustrates some key events 2 months after the explosion and BP’s stock price using a common Date horizontal axis.
The resulting chart is rich in information yet it’s not cluttered. The key relationship between stock price, event and dates are tied up using the “Lollipop Approach” described earlier.
See the full pic: BP oil spill infographic in Excel (full resolution: 792x448).

references: http://en.wikipedia.org/wiki/Deepwater_Horizon_oil_spill. http://www.ft.com.
Lollipop approach to clarify Microsoft Excel line charts
Traditional Microsoft Excel line charts have a common problem. It is hard to visually associate the data points with the horizontal axis. The traditional axis line is no help at all.

The data points are not clearly associated with the horizontal axis labels
We can get around this problem by using data markers. Certainly an improvement, but we still need to mentally drop imaginary lines between the points and the labels.

Use data markers to make the data points more prominient
My solution is to add 100% negative error bars for each data point. This removes any ambiguity between the data points and the axis labels. I call this the “Lollipop Approach” for line charts! The error bars may add additional weight to the chart, but they serve a useful function.

Error bars from each data point associates the relevant axis labels clearly
In a later post, I will show you a beautiful excel chart example using this lollipop approach.
Singapore population infographic in Microsoft Excel

No fancy features. It's purely done in Microsoft Excel 2007!
This is an info-graphic I created in Microsoft Excel. It shows the population composition of Singapore in 2009. The world map and the stick-man was from the standard web-ding font. The only exception was the Singapore flag which I copied from Wikipedia. Nothing fancy was used. Just pure Excel 2007 features, no more no less.
Who says Microsoft Excel is only for number crunching?
See the full pic: Singapore Population Info-graphic 1105x490.

Why IT folks hate Microsoft Excel
Yes they do. Which is why you hardly get any good support when you have a problem with it. Try opening a support ticket when you hit a snag with Excel. It won’t see the light of day.
So why do IT folks hate Microsoft Excel?
1. It’s tough for IT folks to distribute and control Microsoft Excel on your desktops. “Jim, could you upgrade/re-install my Microsoft Excel on my laptop?” You probably see Jim avoiding you for a week.
2. IT do not trust Microsoft Excel. Open up an Excel workbook, notice that you can’t trace anything back to a credible source, or who made any changes since it was created. IT folks hate it when they can’t find anyone to blame.

Does it mean that if I can blame you, I can trust you...??
3. IT can’t do version control on Microsoft Excel files. Any Excel file can be copied, changed and copied again. There is no absolute version that IT can trust and rely.
So as Excel users what are we to do? The only viable way is to to take responsibility of our own Excel files. Business changes quickly, analysis is needed rapidly. We simply can’t wait for IT that is short-staffed or unresponsive.
In short, we need to know our Excel better than IT folks.
Ugly Real Economic Growth Chart from Singapore Statistics-Part 2
Quoting from my favourite marketeer Seth Godin:
The only way to succeed is to be remarkable, to be talked about
So I was really amused that Peltier Tech picked up on my past article “Ugly Real Economic Growth Chart from Singapore Statistics” and was inspired to write another. Good ideas do travel.
I made certain aesthetics changes to an original chart from Singapore Statistics. 
Some modest changes and this was created:

What mirthed me was that the author proposed charts that had everything I hate about Excel charts.

He merely recoloured the original ugly chart! Compare and see for yourself.
I always wanted to combine business aesthetics and business savvy in Excel charts.
In my latest workshop Making Beautiful Excel Charts I will break all the traditional rules in Excel charting. What you get are designer-quality charting ideas with Excel.
Let me summarise some typical visual sins with a page from my new book.

That being said, I whipped up another version. Without be-labouring the point, the results are obvious for everyone to see.
Let me end this with Seth Godin’s words again:
The new Dream that markets around the world are embracing is this:
- Be Remarkable
- Be generous
- Create Art
- Make Judgement calls
- Connect people to new ideas
and we have no choice but to reward you.
Free Microsoft Excel 2007 VBA program. Automated IP Address Checker
As a service to the Excel user community, I’ve written a niffy little Excel VBA program. This program checks a valid IP address and it returns Country, City and Organization information in seconds!
Download AEternus IP Address CheckerSee how it works:
Screen Shot:

Disclaimer:
Aeternus is not responsible for any loss or damage arising from the use of this free program. Source codes are provided “as is”. To ensure that this program is free from maliciouse codes, make sure you obtain this program direct from Aeternus’s website.
AEternus answers Excel questions on Yahoo Answers!
True to our mission of “Serving the Excel Community”, we have been answering Excel related questions on Yahoo Answers.
Check out some of the questions we have helped answer:
If you got any Excel questions feel free to post them to us here:
Ugly Real Economic Growth Chart from Singapore Statistics.
Singapore Statistics have the most amazing numbers on Singapore. Anything on our country’s GDP to how many handphones we have on average can be found. But the folks from SingStats seriously need to improve their charts.
Take a look here (http://www.singstat.gov.sg/stats/charts/econ.html#econA)

I could hardly make any sense out of these charts. They seems to be just thrown together with out any theme or purpose. After all the work of collecting the data, if you can’t present data in a useful manner, it’s simply a waste of efforts.
I took up the challenge to clean up this miserable chart using Excel, and try to show that beautiful charts can be useful to convery data in a clearer manner.

The improvements I made:
1. The distinct shape of our total economy is much clearer as an area chart.
2. The Manufacturing and Financial sectors are reduced to scatter chart with drop lines. The trends can still be discerned yet is less noisy compared to the original version.
There is a part 2 to this story:
Ugly Real Economic Growth Chart from Singapore Statistics-Part 2
Quoting from my favourite marketeer Seth Godin:
The only way to succeed is to be remarkable, to be talked about
So I was really amused that Peltier Tech picked up on my past article “Ugly Real Economic Growth Chart from Singapore Statistics” and was inspired to write another. Good ideas do travel.
I made certain aesthetics changes to an original chart from Singapore Statistics. 
Some modest changes and this was created:

What mirthed me was that the author proposed charts that had everything I hate about Excel charts.

He merely recoloured the original ugly chart! Compare and see for yourself.
I always wanted to combine business aesthetics and business savvy in Excel charts.
In my latest workshop Making Beautiful Excel Charts I will break all the traditional rules in Excel charting. What you get are designer-quality charting ideas with Excel.
Let me summarise some typical visual sins with a page from my new book.

That being said, I whipped up another version. Without be-labouring the point, the results are obvious for everyone to see.
Let me end this with Seth Godin’s words again:
The new Dream that markets around the world are embracing is this:
- Be Remarkable
- Be generous
- Create Art
- Make Judgement calls
- Connect people to new ideas
and we have no choice but to reward you.
Klipfolio, a beautiful dashboard software. Free!
I have always been a fan of Klipfolio (http://www.klipfolio.com). This tiny software features beautifully made dashboards that run on your desktop. It’s useful and very clever. Download it, try it. It’s a low risk way to see how dashboards can work and it’s FREE!





