Spreadsheet
I want a spread sheet to be scroll only up and down not left and right. Is it
possible to do so and How??? Thank you |
Spreadsheet
You can 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:M65536" 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:M65536" End With End Sub Gord Dibben MS Excel MVP On Tue, 20 Nov 2007 19:38:01 -0800, alexc wrote: I want a spread sheet to be scroll only up and down not left and right. Is it possible to do so and How??? Thank you |
All times are GMT +1. The time now is 06:38 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com