View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mikhail Mikhail is offline
external usenet poster
 
Posts: 9
Default Using Nothing and Null

What should be used with range variables if they are empty - IsEmpty(r) or r
is Nothing? Provided that r is declared as Range?
What is the best way to check if range contains no cells, for example list
on worksheet contains only coulumns headers?
Currently I use both techniques - either Set r = Nothing and later test if r
Is Nothing then...or r = Null and later test if IsEmpty(r) then...
Thanks
Mike510