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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
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,214,929
Messages
6,122,315
Members
449,081
Latest member
tanurai

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