ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   hiding unued rows and column (https://www.excelbanter.com/excel-programming/430554-hiding-unued-rows-column.html)

Link[_2_]

hiding unued rows and column
 


I have a worksheet with about one page of information. If there another way
to make the unused columns and rows not visible apart from using format
column/row hide?

AltaEgo

hiding unued rows and column
 

You could use a filter to filter non-blanks.

--
Steve

"Link" wrote in message
...

I have a worksheet with about one page of information. If there another
way
to make the unused columns and rows not visible apart from using format
column/row hide?



Gord Dibben

hiding unued rows and column
 

Other than hiding the unused area there is nothing.

You could set a scrollarea so's users can't move out of that defined range.

Set the scrollarea to a range using VBA.

Since the scrollarea method does not stick between sessions you will have to
reset it each time you open the workbook.

You may wish to place the code into a WorkBook_Open Sub in ThisWorkbook
module and specify which worksheet if only one sheet required.

Adjust the sheetname and range to suit.

Private Sub WorkBook_Open()
Sheets("YourSheet").ScrollArea = "A1:M36"
End Sub

Or also in the Thisworkbook module to limit scrollarea on all sheets.

Private Sub Workbook_SheetActivate(ByVal Sh As Object)
With ActiveSheet
.ScrollArea = "A1:M36"
End With
End Sub


Gord Dibben MS Excel MVP

On Tue, 30 Jun 2009 14:18:01 -0700, Link
wrote:


I have a worksheet with about one page of information. If there another way
to make the unused columns and rows not visible apart from using format
column/row hide?



Patrick Molloy

hiding unued rows and column
 

tools options & turn off gridlines and row&column headers

"Link" wrote in message
...

I have a worksheet with about one page of information. If there another
way
to make the unused columns and rows not visible apart from using format
column/row hide?




All times are GMT +1. The time now is 10:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com