Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 226
Default How do I lock a screen to prevent scrolling?

I have developed a model for people to use with several drop down menus. The
worksheet is locked except for variable info cells. All of the calculations
are done several rows below the usable worksheet and I am trying to lock the
screen to prevent people from scrolling down through the calculations.

Is it possible to lock the screen?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 268
Default How do I lock a screen to prevent scrolling?

When you *lock* or protect the worksheet, you have the option to allow users
to select unlocked and locked cells. If you allow them to only select
unlocked cells, they may be able to see the results in the various cells, but
they will not be able to select these cells, and then see the formulae.

You can also freeze panes in such a way that the frozen part takes up the
entire screen , thus preventing any one from viewing anything but the range
from A1:O28. If you then strech the row heights and column widths slightly,
users will not even see row 29, or column P.

"Roger" wrote:

I have developed a model for people to use with several drop down menus. The
worksheet is locked except for variable info cells. All of the calculations
are done several rows below the usable worksheet and I am trying to lock the
screen to prevent people from scrolling down through the calculations.

Is it possible to lock the screen?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default How do I lock a screen to prevent scrolling?

Hi Roger,

Another option is to put your calculations on a separate
sheet and hide that sheet.You can also hide the rows in
your second sheet and then password protect the sheet
before you hide it.

HTH
Martin



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I lock a screen to prevent scrolling?

Roger

One more method.

Through VBA

Since the scrollarea method does not stick between sessions you will have to
reset it each time.

You may wish to place the code into a WorkBook_Open Sub in ThisWorkbook module
and specify which worksheet if only one sheet required.

Private Sub WorkBook_Open()
Sheets("YourSheet").ScrollArea = "A1:T30"
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:T30"
End With
End Sub


Gord Dibben MS Excel MVP

On Tue, 28 Nov 2006 04:07:01 -0800, Roger
wrote:

I have developed a model for people to use with several drop down menus. The
worksheet is locked except for variable info cells. All of the calculations
are done several rows below the usable worksheet and I am trying to lock the
screen to prevent people from scrolling down through the calculations.

Is it possible to lock the screen?


Gord Dibben MS Excel MVP
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I lock a screen to prevent scrolling?

please let me know the steps


"Gord Dibben" wrote:

Roger

One more method.

Through VBA

Since the scrollarea method does not stick between sessions you will have to
reset it each time.

You may wish to place the code into a WorkBook_Open Sub in ThisWorkbook module
and specify which worksheet if only one sheet required.

Private Sub WorkBook_Open()
Sheets("YourSheet").ScrollArea = "A1:T30"
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:T30"
End With
End Sub


Gord Dibben MS Excel MVP

On Tue, 28 Nov 2006 04:07:01 -0800, Roger
wrote:

I have developed a model for people to use with several drop down menus. The
worksheet is locked except for variable info cells. All of the calculations
are done several rows below the usable worksheet and I am trying to lock the
screen to prevent people from scrolling down through the calculations.

Is it possible to lock the screen?


Gord Dibben MS Excel MVP



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I lock a screen to prevent scrolling?

There are two routines presented in my original post.

Whichever one you choose to use will be placed in Thisworkbook module.

To access that module in 2003 or earlier, Alt + F11 to open the VBE

Select your workbook/project, expand then double-click on Thisworkbook
module. Copy/paste the code into that module.

Edit the range and sheet name to suit. Alt + q to return to the Excel
window.

Save the workbook.

To access in 2007, hit Developer Tab and Visual Basic.

Select your workbook/project and expand to see Thisworkbook.

Double-click to open and copy/paste into that module.

Edit to suit. Alt + q to return to the Excel window.

Save the workbook.


Gord

On Mon, 2 Mar 2009 06:25:01 -0800, ravi varma <ravi
wrote:

please let me know the steps


"Gord Dibben" wrote:

Roger

One more method.

Through VBA

Since the scrollarea method does not stick between sessions you will have to
reset it each time.

You may wish to place the code into a WorkBook_Open Sub in ThisWorkbook module
and specify which worksheet if only one sheet required.

Private Sub WorkBook_Open()
Sheets("YourSheet").ScrollArea = "A1:T30"
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:T30"
End With
End Sub


Gord Dibben MS Excel MVP

On Tue, 28 Nov 2006 04:07:01 -0800, Roger
wrote:

I have developed a model for people to use with several drop down menus. The
worksheet is locked except for variable info cells. All of the calculations
are done several rows below the usable worksheet and I am trying to lock the
screen to prevent people from scrolling down through the calculations.

Is it possible to lock the screen?


Gord Dibben MS Excel MVP


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I lock a screen to prevent scrolling?

Please advice the steps

"Gord Dibben" wrote:

Roger

One more method.

Through VBA

Since the scrollarea method does not stick between sessions you will have to
reset it each time.

You may wish to place the code into a WorkBook_Open Sub in ThisWorkbook module
and specify which worksheet if only one sheet required.

Private Sub WorkBook_Open()
Sheets("YourSheet").ScrollArea = "A1:T30"
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:T30"
End With
End Sub


Gord Dibben MS Excel MVP

On Tue, 28 Nov 2006 04:07:01 -0800, Roger
wrote:

I have developed a model for people to use with several drop down menus. The
worksheet is locked except for variable info cells. All of the calculations
are done several rows below the usable worksheet and I am trying to lock the
screen to prevent people from scrolling down through the calculations.

Is it possible to lock the screen?


Gord Dibben MS Excel MVP

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
Slower scrolling when selecting rows more than a screen full. Stewart Excel Discussion (Misc queries) 3 November 7th 06 11:58 PM
How do I lock a column in EXCEL to prevent changes-can add input amarie Excel Worksheet Functions 1 December 8th 05 06:20 PM
Lock Cells to Prevent Changes In Calif Excel Discussion (Misc queries) 4 September 14th 05 05:07 PM
how to lock a row so that it stays on top when scrolling uturnhuggybear Excel Discussion (Misc queries) 2 June 21st 05 06:15 PM
Run-time error after screen lock in XP Dmitry Perednia Excel Discussion (Misc queries) 0 April 5th 05 12:24 PM


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