S
Smriti
Hi,
I get the error "Requested object not available" in VB
..NET. I've tried to find on the net but could get any
documentation on it.
I want to access the shapes, if any, present in a paragraph
of a word document. So I use
paragraphs(n).range.shaperange.count ,where n is any integer,
to check if there are any shapes in the paragraph. But if
the paragraph is just a newline then I get the above error.
I tried to do a check on it:
if not isnothing(range.shaperange)
....
end if
but that too gives the same error.
Could anybody please tell me where I could be going wrong ?
Thanks,
Smriti
I get the error "Requested object not available" in VB
..NET. I've tried to find on the net but could get any
documentation on it.
I want to access the shapes, if any, present in a paragraph
of a word document. So I use
paragraphs(n).range.shaperange.count ,where n is any integer,
to check if there are any shapes in the paragraph. But if
the paragraph is just a newline then I get the above error.
I tried to do a check on it:
if not isnothing(range.shaperange)
....
end if
but that too gives the same error.
Could anybody please tell me where I could be going wrong ?
Thanks,
Smriti