I am getting error reports that this line
if Win.Parent.Type = wtPropertySheet then

gives an error "object doesn't support this property or method"

Should I do
if not Win.Parent.Type is nothing then

to solve this

If I'm on the right track, do I need both
if not win is nothing and not Win.Parent.Type is nothing then

or is that redundant?

Finally, if I nest if statements like that, and the first one returns false, 
will it stop right there, thus making it safe to stack the if statements like 
this?
Thanks as always.


Reply via email to