This weekend, lets get passionate 😉

Few days ago, Cheryl, one of our forum members asked this question:
How do you know Excel is your passion? Or is it?
I am searching for my passion, you know that thing that makes my heart sing. I mean I am listening for the pitter-patter in my ticker. So how do I know if Excel is it? Or anything for that matter. I am looking for that thing that will make me turn my tv off. (TV is my crack, I am truly addicted). I thought it was database development and honestly I am not altogether sure that it isn’t. Excel may be a substitute. A more attainable passion.
Give me some insight peeps. Some thoughts, musings, ideas.
As usual, many of our forum members chipped in with words of wisdom. Hopefully Cheryl saw their replies, if she ever managed to turn off that tv.
That gave me an idea for this week’s poll.
What are you passionate about?
My mother said to me, “If you become a soldier, you’ll be a general, if you become a monk you’ll end up as the pope.” Instead, I became a painter and wound up as Picasso.? – Pablo Picasso
Passion is an important force in our life. It is what makes us do mad, unreasonable, impossible & life-altering things. So, lets take a minute and examine what are we, as a community at Chandoo.org are passionate about.
I will go first
I am passionate about learning & sharing. That is why I quit my job to work full time on Chandoo.org. And Excel is the perfect vehicle to fulfill my passion. Everyday I wake up thinking ‘What I am going to learn today? How do I share this new knowledge with world? In what way I can help people become awesome in their work?’
Of course, I do not feel the same intensity of this passion everyday. Some days I learn a lot more than I can understand or remember. Some days, I just do not learn (or share) anything at all. But learning & sharing is what drives me every day.
Apart from this, I am also passionate about technology, traveling, legos, photography, books, design (of charts, dashboards & information displays), writing, walking, humor and living a simple & sustainable life.
Your turn…
Go ahead and tell us what you are passionate about? How do you fulfill this passion? If your passion relates to data analysis, visualization, automation or reporting, in what way Chandoo.org can help you?
Please share using comments.

















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