![]() |
Restrict Number of Columns
How do i restrict my worksheet to 20 rows & 20 columns.
|
Restrict Number of Columns
On Sat, 13 Feb 2010 01:20:01 -0800, xxx
wrote: How do i restrict my worksheet to 20 rows & 20 columns. Hide the rows and columns that you don't want to see. Hope this helps / Lars-Åke |
Restrict Number of Columns
Hide those you don't want to look at.
Or set the scrollarea via 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:T20" 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:T20" End With End Sub Gord Dibben MS Excel MVP On Sat, 13 Feb 2010 01:20:01 -0800, xxx wrote: How do i restrict my worksheet to 20 rows & 20 columns. |
All times are GMT +1. The time now is 12:05 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com