View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
jotor14 jotor14 is offline
external usenet poster
 
Posts: 7
Default How to test for Not Nothing

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