P
Paul Martin
Hi all
I have written some code that captures date/time, err.Number,
err.Description, ActiveWorkbook.Name, etc and appends it to an
errorlog.txt file.
Is there some way that I can capture the actual code module and line
of code where the error occurred and write this to the file?
I'm looking at the following, but can't quite get what I'm after:
Application.VBE.VBProjects(1).VBComponents
Any help appreciated.
Paul Martin
Melbourne, Australia
I have written some code that captures date/time, err.Number,
err.Description, ActiveWorkbook.Name, etc and appends it to an
errorlog.txt file.
Is there some way that I can capture the actual code module and line
of code where the error occurred and write this to the file?
I'm looking at the following, but can't quite get what I'm after:
Application.VBE.VBProjects(1).VBComponents
Any help appreciated.
Paul Martin
Melbourne, Australia