کد:
Sub Unhide_All_Rows() On Error Resume Next 'in case the sheet is protected ActiveSheet.Cells.EntireRow.Hidden = False End Sub Sub Unhide_All_Columns() On Error Resume Next 'in case the sheet is protected ActiveSheet.Cells.EntireColumn.Hidden = False End Sub