![]() |
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? |
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? |
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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 11:23 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com