ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Reduce columns and rows count? (https://www.excelbanter.com/excel-worksheet-functions/17932-reduce-columns-rows-count.html)

murat

Reduce columns and rows count?
 
Hello everyone,

Excel sheet has 256 columns and 65536 rows as default. Can I reduce their
count without hiding them? I want to clear unnecessary columns and rows
permanently.

How can i do it?

thanks.

JulieD

Hi

AFAIK no, only by hiding them

Cheers
JulieD

"murat" wrote in message
...
Hello everyone,

Excel sheet has 256 columns and 65536 rows as default. Can I reduce their
count without hiding them? I want to clear unnecessary columns and rows
permanently.

How can i do it?

thanks.




Gord Dibben

murat

Cannot be done.

Hiding the unused rows and columns then protecting the sheet is the usual
method.

Setting the scrollarea using VBA is another method.

Note: Setting ScrollArea is good for that session only and only the
activesheet. Has to be reset next time workbook is opened.

Best to place the code into a WorkBook_Open Sub in ThisWorkbook module and
specify which worksheet.

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


Gord Dibben Excel MVP

On Wed, 16 Mar 2005 07:13:02 -0800, "murat"
wrote:

Hello everyone,

Excel sheet has 256 columns and 65536 rows as default. Can I reduce their
count without hiding them? I want to clear unnecessary columns and rows
permanently.

How can i do it?

thanks.



murat

I'm grateful for your interest.
Thanks a lot!


All times are GMT +1. The time now is 08:09 PM.

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