jamgood96,
Try this bit of code for each button:
Sub btnReset_Click()
Dim rngArea As Range: Set rngArea = ActiveSheet.Range("A1:O23")
Dim FindLocation As Long: FindLocation = 0
Dim btnReset As Button: Set btnReset = ActiveSheet.Buttons(Application.Caller)
While Intersect(btnReset.TopLeftCell, rngArea.Offset(FindLocation, 0)) Is Nothing
FindLocation = FindLocation + 23
Wend
Set rngArea = rngArea.Offset(FindLocation, 0)
MsgBox rngArea.Address
'Continue your resetcode. Replace manual ranges with "rngArea" (no quotes)
End Sub
Hope this helps,
~tigeravatar
Bookmarks