Skip to content

Instantly share code, notes, and snippets.

@DuongAQ
Created January 17, 2018 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DuongAQ/1babe78b250bdb2f0d05b016212d4d69 to your computer and use it in GitHub Desktop.
Save DuongAQ/1babe78b250bdb2f0d05b016212d4d69 to your computer and use it in GitHub Desktop.
Private Sub SpinButton1_Change()
SpinButton1.Min = 1
SpinButton1.Max = Sheet1.Range("F" & Rows.Count).End(xlUp).Value
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment