M
Madla
I want to determine if a variable contains a valid shape.
Here's what I'd like to do:
dim aShape as shape
<snip lots of code that may assign a shape to the variable aShape or
not>
if not isNull(aShape) then
'only perform this section if aShape has a reference to a valid shape
end if
<some more code>
I tried isNull, isEmpty, isError but none of these work.
Any ideas? Thanks...martin
Here's what I'd like to do:
dim aShape as shape
<snip lots of code that may assign a shape to the variable aShape or
not>
if not isNull(aShape) then
'only perform this section if aShape has a reference to a valid shape
end if
<some more code>
I tried isNull, isEmpty, isError but none of these work.
Any ideas? Thanks...martin