Quite new to VBA and been learning off the internet. I have hidden rows in Excel spreadsheet and want them to unhide when I click the toggle button which I have named "ADD ROWS". So when I click it keeps unhiding which is great, but I like it to unhide 3 rows at a time. At the moment it keeps unhiding one row at a time. Note : I am not trying to HIDE rows. Just UNHIDE.
Current Macro in the button is :
Sub Affiliates_Button4_Click()
Dim i As Long
If Columns("n").SpecialCells(xlCellTypeVisible).Count = Rows.Count Then Exit Sub
i = 8 + 1
Do Until Rows(i).Hidden = True
i = i + 1
Loop
Rows(i).Hidden = False
End Sub