Error meesage if Report Stops

rudevincy

Active Member
Joined
Feb 21, 2005
Messages
417
Hello,

I have created a workbook that generates reports. When the program runs there can be 600 reports that are created. It takes anywhere from 7-8 hours to create all reports.

I have noticed that sometimes during the run excel will freeze or stop, is there a way to build into the code that if the program freezes or stops any error message will appear to say the report number it stopped at.... example Message: Report stoped at Report 1111.

PLEASE HELP!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Add code so before the beginning of each report, it appends the current date/time and name of the report being started to a text file. You can examine the file to see the report that was being run when the program froze.
 
Upvote 0

Forum statistics

Threads
1,207,421
Messages
6,078,436
Members
446,337
Latest member
nrijkers

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top