Hello Eveyone,
I am trying to change the below VB code to stop unhiding rows below row 35? There are other hidden rows below row 35 that I do not want to be revealed when this macro is run. Perhaps once row 35 has been unhidden then if the macro is run again an alert box can be displayed?
Is there anyone that is able to edit the below code in order for me to achieve this:
Sub UnhideLastRow()
Dim lHiddenRws As Long
With Cells.SpecialCells(xlCellTypeVisible)
lHiddenRws = .Areas(1).Rows.Count + 1
.Areas(1)(lHiddenRws, 1).EntireRow.Hidden = False
End With
End Sub
Thank you very much for any help.![]()
Bookmarks