View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jean-Pierre Bidon Jean-Pierre Bidon is offline
external usenet poster
 
Posts: 30
Default How to test if a workbook variable is valid

Hi,
When using a variable of type workbook in an expression, it is necessary to
test if its content is valid. For instance that it is not "nothing".
However syntaxes like "if wb < nothing then ..." or "if not wb=nothing then
...." do not work.
Is there any solution, possibly with a different approach.
Thank you in advance.

Jean-Pierre B