If True Then '(will execute)
If False Then '(will not execute)
c is nothing evaluates to either True of False
c would be an object variable.
c will be nothing until it has been assigned an object.
c is nothing = True if no object is assigned to it.
c is nothing = False if has been assigned an object.
"Not" reverses a Boolean designation.
Not True = False
Not False = True
Not c is nothing returns either True or False and the
"If" statement executes if c has been assigned to an object.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
"iron" <
[email protected]>
wrote in message
I've been around Excel for a number of years, but am new to VBA.
I recently came across the code "If Not c Is Nothing Then".
Could someone explain to me what this means...the double negative throws me.