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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Do you Determin is an object is set or not

Status
Not open for further replies.

bitmite

Programmer
Dec 2, 2003
122
CA
I have an optional object parameter in a funtion I have built.
I tried usinf the ismissing function but it does not work properly.
Is there another way to determin if that object is set when the function is loaded.
 
For an object, test IS Nothing rather than IsMissing as in
[tt]
If myObj IS Nothing Then
' Do Stuff
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top