Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default 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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 245
Default 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?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default 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?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default 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?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding all rows where the cell value in column 13 of same row = $0.00 [email protected] Excel Programming 1 May 24th 07 07:28 AM
Hiding all rows where the cell value in column 13 of same row = $0.00 [email protected] Excel Programming 1 May 24th 07 02:17 AM
Hiding rows containing zero in certain column on multiple sheets ell7 Excel Programming 1 August 31st 06 05:31 PM
Hiding rows based on a column value Mark Hansen Excel Programming 6 April 9th 06 06:34 PM
Hiding Rows in a Range based on column A value tig Excel Programming 9 February 9th 06 05:03 PM


All times are GMT +1. The time now is 11:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"