Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

object is nothing

Status
Not open for further replies.

scasystems

Programmer
Jan 15, 2003
44
GB
I have a routine to set some object to another object.
set a = b
How can i check that the returned object is NOTHING
ie.e if isNothing(a) then
There are isNull, isEmpty etc for variants but no isnothing.
I have got round this before but could do with a more elegant solution

cheers
 
The construct is slightly different. Instead of

If IsNothing(a)...

try

If a Is Nothing...
 
cheers guys i feel like a fool!!!
Already had done that in another section of code and forgot

:)

one of those days
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top