Can't unhide first row

odonovanc

Board Regular
Joined
Oct 4, 2017
Messages
60
Office Version
  1. 365
I have inherited a spreadsheet and the first 4 rows are hidden. No matter what I do, I cannot figure out how to unhide them. I've done the f5 and type in the rows and then went to cells format and unhide rows but they do not show up.

Help???
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
One way is to run this one line macro:
Code:
Sub Unhide_Rows()
    Rows("1:4").RowHeight = 14.4
End Sub
 
Upvote 0
One way is to run this one line macro:
Code:
Sub Unhide_Rows()
    Rows("1:4").RowHeight = 14.4
End Sub

This does not seem to be working. I am not super strong with macros but I found a tutorial online and this is not unhiding these rows
 
Upvote 0
Perhaps you have frozen panes as well.

Try this variation:
Code:
Sub Unhide_Rows()
    Rows("1:4").RowHeight = 14.4
    ActiveWindow.FreezePanes = False
    Range("A1").Select
    MsgBox "Macro complete!"
End Sub
Where did you place the VBA code?
Make sure you are in the correct sheet when you run it.
If you run it correctly, you will get a message box at the end.
 
Upvote 0
Try
Code:
Sub Unhide_Rows()
    ActiveSheet.ShowAllData
End Sub
 
Upvote 0
This one worked. Thank you very much.
Which one?
My code or Fluff's?
I am just curious in case this comes up again, I will know which one to recommend.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top