mtheriault2000
Well-known Member
- Joined
- Oct 23, 2008
- Messages
- 826
Hello
Now that my range addressing problem as been resolved , I want to code for a spinButton to modify a cell value
a) A cell value is populated by a proposed value ( from an external link)
b) I want to modify this proposed valeu ( cell value), using a SpinButton
c) The SpinButton click to increased or decreased the Cell value by a step define in Range ("QtyMouvementPerClick")
Clicking on the SpinButton cause the value on the cell to only go up. The click increment correspond to the value of the Range("QtyMouvementPerClick") value
Any help appreciated
Martin
Now that my range addressing problem as been resolved , I want to code for a spinButton to modify a cell value
a) A cell value is populated by a proposed value ( from an external link)
b) I want to modify this proposed valeu ( cell value), using a SpinButton
c) The SpinButton click to increased or decreased the Cell value by a step define in Range ("QtyMouvementPerClick")
Code:
Private Sub SpinButton1_Change()
Dim Value1 As Double
Value1 = Sheets("Data_In_Out").Range("iProposed_Qty").Value
Value1 = Value1 + [COLOR="DeepSkyBlue"](SpinButton1.Value [/COLOR]* Range("QtyMouvementPerClick").Value)
Sheets("Data_In_Out").Range("iProposed_Qty").Value = Value1
End Sub
Clicking on the SpinButton cause the value on the cell to only go up. The click increment correspond to the value of the Range("QtyMouvementPerClick") value
Any help appreciated
Martin