Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 11-23-2013, 11:15 PM
macropod's Avatar
macropod macropod is offline Help with incrementing Spinbutton value. Windows 7 32bit Help with incrementing Spinbutton value. Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,344
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

I'd have thought you could use something like:
Code:
Private Sub SpinDays_SpinDown()
With Range("D4")
  If .Value = 0 Then Exit Sub
  .Value = .Value - 1
End With
End Sub
 
Private Sub SpinDays_SpinUp()
With Range("D4")
  .Value = .Value + 1
End With
End Sub
PS: When posting code, please use the code tags. They're on the 'Go Advanced' tab.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
activex control, increment value, spinbutton



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with incrementing Spinbutton value. multiply by incrementing by 5s marynomore Excel 2 03-27-2013 05:36 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:33 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft