Worksheet spin button with slow startup

PrgmMe

New Member
Joined
Dec 10, 2010
Messages
3
I'm using Excel 2007 on XP. I have a spin button on the worksheet which is very slow to respond on the first click. The spin button changes some linked variables and that changes the information displayed on the page. I strongly suspect that the first click is resulting in some sort of calculation lag. Subsequent clicks are rapid and don't cause any appreciable delay. Is there a way to make the first click faster? I'm not refering to the single vs. multiple clicks as set on the object control. This is something different - a delay of several seconds, not 50 milliseconds.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
I know this is 5 years after the original post. I had the same issue and solved by adding following VBA code (assumes the spin button is named SpinButton1:

Private Sub SpinButton1_GotFocus()
Application.Calculate ' this helps speed up response to first click on a spin button
End Sub
 
Upvote 0
I know this is 5 years after the original post. I had the same issue and solved by adding following VBA code (assumes the spin button is named SpinButton1:

Private Sub SpinButton1_GotFocus()
Application.Calculate ' this helps speed up response to first click on a spin button
End Sub

So, now, 2 years after your post, I just used that line to speed up 6 spin buttons on an excel 2016 worksheet that was incredibly slow, for the first click.
Thanks
Ken
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,941
Members
449,094
Latest member
teemeren

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