J
Jan Eikeland
hello there.
My spincontrol wont spin, it only inc/dec evertytime I hit one of the
spinbuttons.
It wont obey the Min and Max either
Is there anything wrong with code below ?
thank You.
Private Sub UserForm_Initialize()
SpinButton1.Min = 1
SpinButton1.Max = 52
SpinButton1.Delay = 50
EventCount = 1
SpinButton1.Value = 1
Tekst184.SetFocus
Tekst184.Text = EventCount
End Sub
Private Sub SpinButton1_SpinDown()
EventCount = EventCount - 1
Tekst184.SetFocus
Tekst184.Text = EventCount
End Sub
Private Sub SpinButton1_SpinUp()
EventCount = EventCount + 1
Tekst184.SetFocus
Tekst184.Text = EventCount
End Sub
My spincontrol wont spin, it only inc/dec evertytime I hit one of the
spinbuttons.
It wont obey the Min and Max either
Is there anything wrong with code below ?
thank You.
Private Sub UserForm_Initialize()
SpinButton1.Min = 1
SpinButton1.Max = 52
SpinButton1.Delay = 50
EventCount = 1
SpinButton1.Value = 1
Tekst184.SetFocus
Tekst184.Text = EventCount
End Sub
Private Sub SpinButton1_SpinDown()
EventCount = EventCount - 1
Tekst184.SetFocus
Tekst184.Text = EventCount
End Sub
Private Sub SpinButton1_SpinUp()
EventCount = EventCount + 1
Tekst184.SetFocus
Tekst184.Text = EventCount
End Sub