Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to limit scrollable area
Hello,
I have an EXcel VBA app and want to limit what the user can see on each worksheet. The user needs to able able to scroll a certain amount to view only the work area, but any ideas how I can limit the viewable area to no more than that. I assume to somehow limit the extent of scrolling, but the work area can vary, at least vertically. Thanks, Van |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to limit scrollable area
You could hide all rows and columns that the user should not scroll into?
-- Regards, Nigel "VanS" wrote in message ... Hello, I have an EXcel VBA app and want to limit what the user can see on each worksheet. The user needs to able able to scroll a certain amount to view only the work area, but any ideas how I can limit the viewable area to no more than that. I assume to somehow limit the extent of scrolling, but the work area can vary, at least vertically. Thanks, Van |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to limit scrollable area
If you have the following Text Variables Defined
SheetName ie "Sheet1" MyScrollArea ie "A1:D40" Use the Line Sheets(SheetName).ScrollArea = MyScrollArea Should achieve what you are requesting. If you use variables like the above, or a subroutine, you could make the ScrollArea change as more data was entered or if otherwise required. "VanS" wrote: Hello, I have an EXcel VBA app and want to limit what the user can see on each worksheet. The user needs to able able to scroll a certain amount to view only the work area, but any ideas how I can limit the viewable area to no more than that. I assume to somehow limit the extent of scrolling, but the work area can vary, at least vertically. Thanks, Van |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to limit scrollable area
Thanks, David, sounds good. I'll give it a try.
God bless Van "David Messenger" wrote: If you have the following Text Variables Defined SheetName ie "Sheet1" MyScrollArea ie "A1:D40" Use the Line Sheets(SheetName).ScrollArea = MyScrollArea Should achieve what you are requesting. If you use variables like the above, or a subroutine, you could make the ScrollArea change as more data was entered or if otherwise required. "VanS" wrote: Hello, I have an EXcel VBA app and want to limit what the user can see on each worksheet. The user needs to able able to scroll a certain amount to view only the work area, but any ideas how I can limit the viewable area to no more than that. I assume to somehow limit the extent of scrolling, but the work area can vary, at least vertically. Thanks, Van |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Name stays, everything else scrollable. | Excel Discussion (Misc queries) | |||
limit scroll area of split window panes? | Excel Programming | |||
How can I make the top row of my spreadsheet non-scrollable? | Excel Discussion (Misc queries) | |||
Scrollable Frame | Excel Programming | |||
Limit working area of a sheet | Excel Programming |