Ever seen a glaring, over the top, wow-I-am-sooo-cool type of spreadsheet? Lets call them Gangnam spreadsheets!
Gangnam what?!?
If you have never heard about Gangnam style, do not worry. Just like you I too was living under a rock for about a week ago. Then I watched the awesome Gangnam style song. And now I am hooked. You can see it below (or here):
My Korean is just as good as my tap dancing – lousy and non-existent. But I can search. As per wikipedia, the song refers to
“Gangnam Style” is a Korean neologism that refers to a lifestyle associated with the Gangnam district of Seoul, where people are trendy, hip and exude a certain supposed “class”. … Psy likened the Gangnam District to Beverly Hills, California, and said in an interview that he intended a twisted sense of humor by claiming himself to be “Gangnam Style” when everything about the song, dance, looks, and the music video is far from being such a high class. In another interview with CNN, Psy added that:
“People who are actually from Gangnam never proclaim that they are — it’s only the posers and wannabes that put on these airs and say that they are “Gangnam Style” — so this song is actually poking fun at those kinds of people who are trying so hard to be something that they’re not.”
[more]
What has all this got to do with Excel?
Oh I am coming to the point. One of the key ingredients of being awesome in Excel is,
To make our Excel workbooks communicate best by avoiding over the top formatting, unnecessary bells & whistles and focusing on what our users want.
But Excel being a feature rich software, it does have various so called Gangnam styles – superfluous 3d effects, formatting options, charting choices and as such.
Today, lets talk Excel formatting – Gangnam style
Some of my favorite Gangnam formatting tips are,
- Using too many tab colors on your excel workbooks [how to do this]

- Overdose of conditional formats

- 3D charting effects [how to do this]

- Comment shapes and formats [how to do this]

- Rotated text

What are your favorite Gangnam formatting tips?
Go ahead and post a Gangnam formatting tip. Lets all make Excel a stylish place. Post using comments.
Bonus: Gangnam style ft. 3 kids & a dad with cam
As you can guess, my kids love the song. So yesterday evening we played the video on TV and they danced. See their awesome steps below (or click here):
PS: Sowmya is my brothers daughter, the other 2 are ours.
PPS: The loud rept(“hehe hahaha”,20) kind of laugh in background is mine!

















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