HappySpleen
New Member
- Joined
- Oct 13, 2015
- Messages
- 1
Hello all,
I need to know if it is possible to have error handling that can make and save a time stamped text file that contains all the information that I could need to recreate the error later.
What I need it to do is:
The reason for trying to log the data that was being processed is I needed to make sure that I was processing the data correctly so any small change can cause it to fail. I have never worked with error handling before so I am a bit lost as to how I would do this and any help is appreciated.
I need to know if it is possible to have error handling that can make and save a time stamped text file that contains all the information that I could need to recreate the error later.
What I need it to do is:
- Log what Form, Module or Class Module the error occurred in
- What function or Sub the error occurred in
- What line of code the error occurred in
- What data was being processed at the time (String, long, Range ... ...)
- To save the error as a text file saved as the date and time it is created
The reason for trying to log the data that was being processed is I needed to make sure that I was processing the data correctly so any small change can cause it to fail. I have never worked with error handling before so I am a bit lost as to how I would do this and any help is appreciated.