Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / June 2006

Tip: Looking for answers? Try searching our database.

How to test for Not Nothing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jotor14 - 22 Jun 2006 20:03 GMT
if I have a workbook object such as

dim wb as workbook

I know how to test if wb is nothing

but dumb question how do you test for Not nothing ???

if wb is not nothing then
       wb.save
       wb.close
end if
Otto Moehrbach - 22 Jun 2006 20:12 GMT
If Not wb is Nothing then
HTH   Otto
> if I have a workbook object such as
>
[quoted text clipped - 8 lines]
>        wb.close
> end if
jotor14 - 22 Jun 2006 21:05 GMT
Thanks sooo much.

> If Not wb is Nothing then
> HTH   Otto
[quoted text clipped - 10 lines]
> >        wb.close
> > end if
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.