Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   VBA EXCEL - capturing the sub routine name on error (https://www.askmehelpdesk.com/showthread.php?t=169820)

  • Jan 7, 2008, 10:24 AM
    xlBob
    VBA EXCEL - capturing the sub routine name on error
    I would like to write code in VBA for EXCEL that on error tells me what sub, or function I'm actually in.

    Example if I'm in a sub routine that has an error. I would like to capture the subroutine name that is giving me the problem and then write that error out to a text file or actually modify the object i.e. module or function programmatically in a class routine.

  • All times are GMT -7. The time now is 03:56 PM.