It could well be that if you leave that procedure as it is and run the VBA
Code Cleaner:
http://www.appspro.com/Utilities/CodeCleaner.htm
it will run fine.
RBS
"NDBC" wrote in message
...
I have a private subroutine that has just started giving me this error when
I
tried to run it. The only thig i changed was the format of the time
variables
and it is not really that large. The debugger just highlights the sub and
end
sub lines. What can cause this problem.