ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I restrict any one not to scroll more than 100 row? (https://www.excelbanter.com/excel-worksheet-functions/8854-how-do-i-restrict-any-one-not-scroll-more-than-100-row.html)

Saadi

How do I restrict any one not to scroll more than 100 row?
 
HI,
I wana try to restrict the users not to scroll more than 100 rows. like if a
person scroll the excel worksheet downward than it will not scroll lower than
row number 100 and simililarly for column K.

Thanks,

Chip Pearson

You can set the ScrollArea property. E.g.,

Sub AAA()
Worksheets("Sheet1").ScrollArea = "A1:K100"
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Saadi" wrote in message
...
HI,
I wana try to restrict the users not to scroll more than 100
rows. like if a
person scroll the excel worksheet downward than it will not
scroll lower than
row number 100 and simililarly for column K.

Thanks,





All times are GMT +1. The time now is 06:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com