MsgBox "Document doesn't contain a table" The following example selects the first table, if there is at least one table in the active document. If you are accessing the member by index number, you can use the Countproperty of the collection to determine if the member exists. To avoid this error when accessing a member of a collection, ensure that the member exists prior to accessing the collection member. ![]() For example, the following instruction may post an error if the active document does not contain at least one table. ![]() The "requested member of the collection does not exist" error occurs when you try to access an object that does not exist.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |