PC Review


Reply
Thread Tools Rate Thread

How to Delete Extra Cells and Columns

 
 
Notdony
Guest
Posts: n/a
 
      18th Jun 2008
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 With Quote
 
 
 
 
Mike Rogers
Guest
Posts: n/a
 
      18th Jun 2008
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.

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      18th Jun 2008
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 <(E-Mail Removed)>
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot delete the extra rows or columns in Excel 2007 ChemDistribution Microsoft Excel Misc 2 18th Mar 2010 06:05 PM
delete columns if cells have no data wizardmalcolm Microsoft Excel Misc 2 5th Aug 2009 03:06 PM
Delete every row if the cells in first 12 columns are empty ArgarLargar@gmail.com Microsoft Excel Discussion 4 5th Aug 2007 06:38 AM
delete extra columns and rows =?Utf-8?B?bWF0dCBjaGFybHRvbg==?= Microsoft Excel Misc 1 7th Jun 2005 08:46 PM
how do i delete the extra empty rows and columns that i dont need. =?Utf-8?B?bGluZGFZ?= Microsoft Excel Misc 3 20th Mar 2005 03:48 PM


Features
 

Advertising
 

Newsgroups
 


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