Hi,

I have a range object - range(bkEndPos, bkEndPos)
and I'm supposed to add a table there but delete the table if it is already there.

But I can't do it this way:
if wordDoc.Tables(3).Range = wordDocRange then
wordDoc.Tables(3).Delete
msgbox("existing table detected and deleted")
end if

What can I do?

Thank you