Countdown Clock problem

Please post any questions regarding the program here.

Moderator: 2020vision

Countdown Clock problem

Postby dealbanker » Mon Jul 02, 2012 4:12 am

Hello

My countdown clock in the Excel sheet is continually freezing for 1 - 3 seconds at a time and then resuming at the correct time. Or it will freeze and then jump through the digits to get through to the correct digits/time. There are a few seconds of normal countdown and it will repeat the problem

It only started today. I have tried rebooting. The GRUSS clock is acting normally.

Does anyone know what may be happening and what I need to do to rectify this? I rely on the clock to have regular second intervals for my VBA code.

Thanks
dealbanker
 
Posts: 63
Joined: Wed Oct 26, 2011 1:12 pm

Postby GaryRussell » Mon Jul 02, 2012 5:36 am

It could be your VBA code keeping Excel busy so that BA cannot update it. If you put "Debug.Print Now" statements in your code you can test how long it takes to execute. If it is taking a few seconds then you need to try and make it more efficient.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby dealbanker » Mon Jul 02, 2012 6:32 am

Thanks for the tip Gary

However I am not getting any output with this.

The code is simple enough and the clock has worked perfectly for 2 days with this VB code -

-------------------------------------------------------------------
Private Sub Worksheet_Change(ByVal Target As Range)

If Target.Columns.Count <> 16 Then Exit Sub


Application.EnableEvents = False
Application.Calculation = xlCalculationManual

Range("AB5:AB35").Value = Range("AA5:AA35").Value
Range("AA5:AA35").Value = Range("f5:f35").Value


Application.EnableEvents = True
Application.Calculation = xlCalculationAutomatic
End Sub
------------------------------------------------------------------------------

The problem is now stretching up to 5 seconds delay...

Any other suggestions?

Thanks
dealbanker
 
Posts: 63
Joined: Wed Oct 26, 2011 1:12 pm

Postby dealbanker » Mon Jul 02, 2012 7:11 am

Creating a whole new sheet and reinserting the code seems to have given a temporary solution...
dealbanker
 
Posts: 63
Joined: Wed Oct 26, 2011 1:12 pm

Postby dealbanker » Thu Jul 05, 2012 5:42 am

Solved
#DIV/0 was the problem, interfering with the timer for some reason
dealbanker
 
Posts: 63
Joined: Wed Oct 26, 2011 1:12 pm


Return to Help

Who is online

Users browsing this forum: Google [Bot] and 19 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.