PLX-DAQ version 2 - now with 64 bit support! (and further new features)

@NetDevil I want to replace the customcheckbox 1 and 2 with two set of spinbutton and textbox; and use GET from arduino to set sampling frequency and recording duration. i need some help with VB script. How do I save the last config values in settingsheet?

Private Sub SpinButton1_Change()
On Error Resume Next
TextBox1.Text = SpinButton1.Value
End Sub

Private Sub TextBox1_Change()
On Error Resume Next
SpinButton1.Value = TextBox1.Text
End Sub

Private Sub SpinButton1_SpinDown()
   TextBox1.Text = Val(TextBox1.Text) - 1
End Sub
Private Sub TextBox1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
   Select Case KeyAscii
     Case vbKey0 To vbKey9, 8
     Case Else
       KeyAscii = 0
       Beep
   End Select
End Sub

Private Sub SpinButton1_SpinUp()
   TextBox1.Text = Val(TextBox1.Text) + 1
End Sub

Private Sub SpinButton2_Change()
On Error Resume Next
TextBox2.Text = SpinButton2.Value
End Sub
Private Sub TextBox2_Change()
On Error Resume Next
SpinButton2.Value = TextBox2.Text
End Sub

Private Sub SpinButton2_SpinDown()
   TextBox2.Text = Val(TextBox2.Text) - 1
End Sub

Private Sub SpinButton2_SpinUp()
   TextBox2.Text = Val(TextBox2.Text) + 1
End Sub

Private Sub TextBox2_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
   Select Case KeyAscii
     Case vbKey0 To vbKey9, 8
     Case Else
       KeyAscii = 0
       Beep
   End Select
End Sub