I have a document defined in VBA code as a variable named docRef. The document includes 7 tables. In my VBA code, I have an integer variable Count = docRef.
docRef
Count = docRef.