Solved

Excel Hidden Rows, not hidden, may row height?

Posted on 2011-03-04
5
561 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

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 article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

615 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