Jeff Weir, an alert reader of our blog points me this chart showcasing voice-over artist’s for various Simpson’s characters. I am a hard-core Simpon’s fan, so I naturally wasted 10 minutes looking at the chart. That is when I realize this chart is not only fun, it also teaches 5 valuable lessons on making better charts.
One fun chart

[view high res | original credit]
5 Rules for Making Better Charts
- Make it personal: I immediately looked up my favorite characters when I saw this chart. I am sure that is what many of you would do too. Charts / Slides that poke curiosity thru personal connections are memorable.
- Keep it simple: I am sure one of the new social media info-graphics wiz-bang would have made a whole poster out of this little data, but not this chart maker. Whoever made this chart chose a simple medium (bar chart) to show the characters and voice-over artists. And it works. Whenever you are tempted to use a complex chart, think for a minute if a simpler, familiar alternative is available and use it. KISS always works.
- Sort it: The chart is sorted by number of characters by artist. Sorting makes it easy to compare and view. You should always consider sorting your data in meaningful order.
- Use colors that connect: This chart uses bright yellow color, almost the same as the skin color of Simpson’s characters. It connects well with the audience. You should try to use colors that evoke emotional responses from your audience, whenever possible.(tip: using color in charts)
- Make it easy to compare: One comparison you can immediately draw is that male artists (Hank, Harry, Dan etc.) do so much more voice over work than female artists (Nancy, Yeardley, Julie etc.). You can tell this because the photos of artists are also available next to their names. Remember, your audience are looking for patterns, hidden messages in your charts. So make your charts with that in mind.
Question: What rules do you recommend for making better charts?
Go ahead and tell us what rules do you think we should follow to make awesome charts using comments.
Bonus Question: Who is your favorite non-Simpson Simpson’s character?
I don’t think about charting and formulas too much when weekend is around the corner, and neither should you. So go ahead and indulge in harmless banter. Tell me which non-Simpson Simpson’s character is your favorite?
For me Ned Flanders does it. I think his dialogues are very cleverly written. What about you?

















6 Responses to “Make VBA String Comparisons Case In-sensitive [Quick Tip]”
Another way to test if Target.Value equal a string constant without regard to letter casing is to use the StrCmp function...
If StrComp("yes", Target.Value, vbTextCompare) = 0 Then
' Do something
End If
That's a cool way to compare. i just converted my values to strings and used the above code to compare. worked nicely
Thanks!
In case that option just needs to be used for a single comparison, you could use
If InStr(1, "yes", Target.Value, vbTextCompare) Then
'do something
End If
as well.
Nice tip, thanks! I never even thought to think there might be an easier way.
Regarding Chronology of VB in general, the Option Compare pragma appears at the very beginning of VB, way before classes and objects arrive (with VB6 - around 2000).
Today StrComp() and InStr() function offers a more local way to compare, fully object, thus more consistent with object programming (even if VB is still interpreted).
My only question here is : "what if you want to binary compare locally with re-entering functions or concurrency (with events) ?". This will lead to a real nightmare and probably a big nasty mess to debug.
By the way, congrats for you Millions/month visits 🙂
This is nice article.
I used these examples to help my understanding. Even Instr is similar to Find but it can be case sensitive and also case insensitive.
Hope the examples below help.
Public Sub CaseSensitive2()
If InStr(1, "Look in this string", "look", vbBinaryCompare) = 0 Then
MsgBox "woops, no match"
Else
MsgBox "at least one match"
End If
End Sub
Public Sub CaseSensitive()
If InStr("Look in this string", "look") = 0 Then
MsgBox "woops, no match"
Else
MsgBox "at least one match"
End If
End Sub
Public Sub NotCaseSensitive()
'doing alot of case insensitive searching and whatnot, you can put Option Compare Text
If InStr(1, "Look in this string", "look", vbTextCompare) = 0 Then
MsgBox "woops, no match"
Else
MsgBox "at least one match"
End If
End Sub