Hi there, When using the attached code, I get an Error 91 when closing/unloading the userform. The code runs fine and the value in the textbox is increased/decreased as intended. The error shows only after closing the form.
![]()
Private Sub spnButton1_Change() Me.TextBox1.Value = Me.spnButton1.Value End Sub
![]()
Private Sub UserForm_Initialize() Me.TextBox2.Value = 350 Me.spnButton1.Value = Me.TextBox2.Value Me.Show End Sub
Bookmarks