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

882 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 answers

0
VBA novice Ryan On

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