PRC2005 The procedure issued a command against a current object, but no current object of the correct type exists.


The procedure does not specify a specific object name, only an object type. In this instance, if an object of this type is open in another window of the editor, the procedure will run correctly. Since an object of the type specified is not open in another window, the procedure failed to run.

User response

Make sure an object of the specified type is open in another window, or specify a specific object name.