When you use the Documenter Wizard in a Microsoft Access database, some
objects that are open may produce an error if you try to document them.
If you have a query open in either Datasheet or Design view when you document it with the Documenter, you receive the following error:
Invalid procedure call or argument
If you have a form open in either Form or Datasheet view when you document it with the Documenter, you may receive the following error. You may also receive this error if the Relationships window is open when you try to document a form:
Application-defined or object-defined error
These error messages are followed by another message:
Unable to document <Object Type> '<Object Name>'. Continue?
If you click Yes to continue the Documenter, it proceeds with the remaining
objects it is able to document.