Solved

Excel Hidden Rows, not hidden, may row height?

Posted on 2011-03-04
5
559 Views
Last Modified: 2012-05-11
I have a shared 97-2003 Excel Workbook ( I am using Excel 2010). All of sudden several rows are "hidden".

When viewng the row numbers, they skip

67
68
85
86

I have:
1) Select unhide all rows  -  no luck
2) Select all rows and did row height - no luck
3) Select all rows and did auto height - no luck

What does work:
1) If I put my cursor right on the top of row 85, it changes to double bars (height adjustment) and I can pull down row 84. Then go to top of 84, do the same for 83.

These "hidden" rows are spread out throughout the worksheet, I would like a command to correct this.

Thanks.
0
Comment
Question by:freshgrill
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 26

Accepted Solution

by:
pony10us earned 500 total points
ID: 35038516
Check to be sure there isn't a filter set.  Data/Filter and see if show all is selected
0
 
LVL 9

Expert Comment

by:McOz
ID: 35038521
Something like this?
Sub ResetRows()
    For Each r In ActiveSheet.UsedRange
        r.RowHeight = 15
    Next
End Sub

Open in new window

0
 
LVL 42

Expert Comment

by:dlmille
ID: 35038558
You can do it in two steps and you have the menu items to complete it.  If you'd like a macro, just ask, but its not really needed.

See this link:  http://www.ehow.com/how_4445648_autofit-column-width-excel.html

Select all cells (top left of sheet), go to format menu, and select autofit options

Dave
0
 
LVL 42

Expert Comment

by:dlmille
ID: 35038587
This macro will reset all cells HEIGHT and WIDTH to the standard height and width in all sheets in a given workbook.
Sub AutoFitAll()
Dim mySheet As Worksheet

    For Each mySheet In Application.Worksheets
        Cells.ColumnWidth = 8.43
        Cells.RowHeight = 15
    Next mySheet
    
End Sub

Open in new window

Cheers,

Dave
0
 
LVL 42

Expert Comment

by:dlmille
ID: 35038623
Ahh yes- this macro will not only reset all HEIGHT and WIDTH, but turn off any filtering, so nothing should be hidden.
 
Sub AutoFitAll()
Dim mySheet As Worksheet

    For Each mySheet In Application.Worksheets
        Cells.ColumnWidth = 8.43
        Cells.RowHeight = 15
        mySheet.AutoFilterMode = False
    Next mySheet
    
End Sub

Open in new window


Dave
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question