Question : macro to unhide rows

Hi experts

need a macro to unhide any rows based in column A6:A until last row with data in column A and clear the contents of any data entered into the range C6:N (where the value of n is based on the last row with data in column A6 onwards)....

Answer : macro to unhide rows

Sorry, a small change on the row (instead of checking for the last row in column C use want to check column A) ...use this instead.

jppinto
1:
2:
3:
4:
5:
6:
Sub unhideRows()
    Dim MaxRowActive As Long
    Rows("6:65536").EntireRow.Hidden = False
    MaxRowActive = Range("A" & Cells.Rows.Count).End(xlUp).Row
    Range("C6:c" & MaxRowActive & "").Clear
End Sub
Random Solutions  
 
programming4us programming4us