The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. SYMPTOMSWhen you use the VBA Error Handler add-in, the error handling code may not be inserted between the beginning and end of the procedure. If the error handling code is outside the procedure and you try to compile the project or run the procedure that calls the error handling code, you may receive the following error message:
CAUSE
You receive this error message when the last line in a module is a comment. RESOLUTIONIf you encounter this problem, move the
-or-
line so that it comes after the error handling code block.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft Office Developer Tools. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words: pra subroutine function addin add in
Keywords : kbdta AccCon modVBAErrorHandler |
Last Reviewed: November 24, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |