Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to Delete Extra Cells and Columns

Dear Readers,
Can anyone tell me how can I delete the rest of columns and rows of
worksheet which I dont want. I mean to say I work in excel, my workplace is
just the size of my monitor screen. But there or millions of other cells and
rows which are completely blank and useless. Is there any way to delete the
rest of the worksheet and only my workplace stays visible and the rest of it
disapears. I'll be realy grateful for your help. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 284
Default How to Delete Extra Cells and Columns

Notdony

Can't delete them but you can select them and hide them.

Mike Rogers

"Notdony" wrote:

Dear Readers,
Can anyone tell me how can I delete the rest of columns and rows of
worksheet which I dont want. I mean to say I work in excel, my workplace is
just the size of my monitor screen. But there or millions of other cells and
rows which are completely blank and useless. Is there any way to delete the
rest of the worksheet and only my workplace stays visible and the rest of it
disapears. I'll be realy grateful for your help. Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How to Delete Extra Cells and Columns

An alternate method to Mike's would be to set the scrollarea so's users could
not stray out of your designated area.

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 Wed, 18 Jun 2008 07:19:02 -0700, Notdony
wrote:

Dear Readers,
Can anyone tell me how can I delete the rest of columns and rows of
worksheet which I dont want. I mean to say I work in excel, my workplace is
just the size of my monitor screen. But there or millions of other cells and
rows which are completely blank and useless. Is there any way to delete the
rest of the worksheet and only my workplace stays visible and the rest of it
disapears. I'll be realy grateful for your help. Thanks.


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
Delete Extra Pages older pro[_2_] Excel Discussion (Misc queries) 0 February 14th 07 03:49 PM
Delete extra pages older pro Excel Worksheet Functions 0 February 12th 07 11:04 PM
delete extra space WBTKbeezy Excel Worksheet Functions 8 October 8th 06 01:49 AM
delete extra columns and rows matt charlton Excel Discussion (Misc queries) 1 June 7th 05 08:46 PM
how do i delete the extra empty rows and columns that i dont need. lindaY Excel Discussion (Misc queries) 3 March 20th 05 03:48 PM


All times are GMT +1. The time now is 04:11 AM.

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"