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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
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,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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