08-11-2014, 08:14 PM
whenever u want to capture a screen shot of error, then write a function when u recieve any error and use Desktop.capture.
for next line you can use On error Resume Next
for next line you can use On error Resume Next