Hi MagnusNM and congratulations on your first post. Thank you for using CODE TAGS. It is good that you are using 'Option Explicit', which solves a lot of problems before the problems can be created.
It is difficult to diagnose your problem without having a sample data file. It seems like you may have a 'race condition' where you stopped the timer, just before the next timer cycle is scheduled to run. The following untested code may solve your problem (changes in red).
If you are still having problems, please upload a sample file. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.
Remember to desensitize the data.
Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
Lewis
Bookmarks