ActiveDocument.Tables.Count returns 0 but there are 4 tables

922 Views Asked by At

Issue Resolved: I had two different sessions of word running. The code was in one but the tables were in the other.


There are 4 tables in the document but ActiveDocument.Tables.Count isn't working. Any ideas?

Two of tables in document.

1

There are 1 best solutions below

0
On

I had two different sessions of word running. The code was in one but the tables were in the other.