ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Spin Button... (https://www.excelbanter.com/excel-programming/296016-spin-button.html)

scottnshelly[_25_]

Spin Button...
 
i've never seen anycode or tips or anything for the spin button. wha
exactly is that, when/where should i use that. do you have an exampl
of a code that will make it work

--
Message posted from http://www.ExcelForum.com


Greg Koppel

Spin Button...
 
Hi Scott,

I have used it in the past to resize a UserForm

Private Sub SpinButton1_Change()
If UserForm1.SpinButton1.Value = 2 Then
MsgBox UserForm1.Zoom
UserForm1.Zoom = UserForm1.Zoom * 1.1
MsgBox UserForm1.Zoom
End If
If UserForm1.SpinButton1.Value = 1 Then
MsgBox UserForm1.Zoom
UserForm1.Zoom = UserForm1.Zoom * 0.9
MsgBox UserForm1.Zoom
End If
End Sub

HTH, Greg

"scottnshelly " wrote in
message ...
i've never seen anycode or tips or anything for the spin button. what
exactly is that, when/where should i use that. do you have an example
of a code that will make it work?


---
Message posted from http://www.ExcelForum.com/




scottnshelly[_26_]

Spin Button...
 
Thanks a lot Greg. i've just always been curious about that one. I
seems like i've seems like i've seen examples for all of them excep
the spin button.
Any other examples???
Thanks

--
Message posted from http://www.ExcelForum.com


scottnshelly[_30_]

Spin Button...
 
Any other expamples of a spin button out there

--
Message posted from http://www.ExcelForum.com


Rob van Gelder[_4_]

Spin Button...
 
I have an example of a spin button on my website (Date Time Picker)

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"scottnshelly " wrote in
message ...
Any other expamples of a spin button out there?


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 03:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com