LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default number of columns

You can hide what you don't want to see as others have pointed out.

You can also set the scrollarea to a fixed range.

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:G10"
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:G10"
End With
End Sub


Gord Dibben MS Excel MVP

On Sun, 8 Jul 2007 01:52:03 -0700, ekkeindoha
wrote:

Good day,
I would like to know if it is possible to set a worksheet to only have let's
say columns A to G and 1 to 10




 
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
Number of columns Duplex Excel Discussion (Misc queries) 3 October 20th 06 02:02 PM
Max number of columns? Al Excel Discussion (Misc queries) 1 March 17th 06 11:46 AM
Number of Columns Pedro Mestre Excel Discussion (Misc queries) 2 October 20th 05 11:24 AM
Number of columns ? Toosje Excel Worksheet Functions 2 March 16th 05 11:41 AM
limited number of columns Katja Excel Discussion (Misc queries) 0 February 5th 05 03:21 PM


All times are GMT +1. The time now is 12:52 PM.

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

About Us

"It's about Microsoft Excel"