I am looking for a code to hide/Unhide last row with data but in a sequence using button.
I have created a table with a questions in top row and expecting 1 to 10 responses in the rows below. I will hide all 10 rows in a table and will ask responders to use button to unhide one row at a time for their answer.
I have tried following code but it unhide all rows whereas I need to unhide one row upon each click in sequence.
Dim startRow As Long: startRow = 1
Dim lastRow As Long: lastRow = ActiveSheet.UsedRange.Rows.Count
ActiveSheet.Rows(startRow & ":" & lastRow).Hidden = False
I hope will get some good responses from the community with thanks in advance.
