E
ell
how is the syntex in vba excel to check: if object exists, or is
object in collection exists.
I tried this code in vba excel :
if (oElement.Attributes("backGroundColor")) then
.... do something
but got error.
in VBA code there are some common object instance,checking
like: isObject(obj)=0
or: obj=null
or: obj is nothing
or empty
none of above works ??
only something like on error resume next ?? (not very common)
why excel VBA is different from other VBA like MS-Access ?
el
object in collection exists.
I tried this code in vba excel :
if (oElement.Attributes("backGroundColor")) then
.... do something
but got error.
in VBA code there are some common object instance,checking
like: isObject(obj)=0
or: obj=null
or: obj is nothing
or empty
none of above works ??
only something like on error resume next ?? (not very common)
why excel VBA is different from other VBA like MS-Access ?
el