Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 73
Default Is there a way to restrict the view of a worksheet

Hi folks,
I want to set up a worksheet, so that only part of it can be seen / viewed .
Some scrolling will be necessary to see all the relavent parts, but the rest
I would like to stop viewing. (e.g. like a scroll lock limited to a specified
range of collumns / rows).
Any ideas guys?
RR1
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Is there a way to restrict the view of a worksheet

You can hide unused rows and columns.

Or you can set the scrollarea to a range using 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: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 Sun, 4 Oct 2009 08:27:01 -0700, Romileyrunner1
wrote:

Hi folks,
I want to set up a worksheet, so that only part of it can be seen / viewed .
Some scrolling will be necessary to see all the relavent parts, but the rest
I would like to stop viewing. (e.g. like a scroll lock limited to a specified
range of collumns / rows).
Any ideas guys?
RR1


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
Restrict View of Data LyndieBee Excel Discussion (Misc queries) 0 April 15th 09 12:18 AM
Password Restrict a Worksheet for Viewing Annie V Setting up and Configuration of Excel 2 September 11th 08 02:52 AM
how do I restrict access to only one worksheet in excel? Avinash Excel Discussion (Misc queries) 5 March 21st 06 03:28 AM
How to view a custom view when the worksheet is protected? JulesJam Excel Worksheet Functions 0 March 6th 06 02:15 PM
restrict changes to worksheet EdWeitz Excel Discussion (Misc queries) 1 January 31st 05 03:41 PM


All times are GMT +1. The time now is 07:33 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"