LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Member
 
Posts: 84
Default Scroll Lock for selected multiple sheets

Help please,

I'm trying to limit the scroll area of several sheets but I also need other sheets to scroll normally. I'm using this formula in the VBA (ThisWorkbook):

Private Sub WorkBook_Open()
Sheets("Jan").ScrollArea = "A1:M52"
End Sub

This works fine for the "Jan" sheet but I have several others that I need to limit the scroll area as well. I tried placing the above formula in each sheet that I want to limit but upon opening the workbook I get an Runtime Error.

What's the solution?

K
 
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
How do I turn scroll lock off (2007 excel)? No scroll lock key Cameron A Perth Excel Discussion (Misc queries) 1 September 18th 09 05:46 AM
Warning Message (at open) if Multiple Sheets are Selected Dave Excel Discussion (Misc queries) 4 October 14th 08 11:37 PM
how do I undo the scroll lock, thscroll lock button does not work scroll lock Excel Discussion (Misc queries) 3 July 19th 08 10:17 PM
How do I undo an action when multiple sheets are selected? Jared Excel Worksheet Functions 0 August 15th 05 10:16 PM
Multiple sheets selected twa14 Excel Discussion (Misc queries) 2 December 21st 04 11:15 AM


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