Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Worksheet Scrolling

Hi All,

Is There a way to disable the srcolling on a worksheet os that a user can't
scroll on a worsheet?

Thanks in Advance

Jason
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Worksheet Scrolling

Hi
One way would be to set the ScrollArea property to say A1:J30. However this
property is cannot be saved with the book and is lost once the book is
re-open. That is, you would have to set it in the Workbook_Open sub of the
ThisWOrkbook module.
Another way would be to hide any other row and columns outside of the
'scrollable' rectangle; unlock the cells of that rectangle (menu Format
Cells, tab Protection); and finally protect the sheet.
--
Regards,
Sébastien
<http://www.ondemandanalysis.com


"Jason Zischke" wrote:

Hi All,

Is There a way to disable the srcolling on a worksheet os that a user can't
scroll on a worsheet?

Thanks in Advance

Jason

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Worksheet Scrolling

Jason,
Whilst you cannot prevent scrolling, you can set the .ScrollArea of a
worksheet, so the user cannot wander outside.
It only functions if the sheet is protected and AFAIK is not persistent; you
have to set it each time the workbook is opened.

The user may be able to scroll depending on the values of their screen
resolution and Excel zoom.

NickHK

"Jason Zischke" wrote in message
...
Hi All,

Is There a way to disable the srcolling on a worksheet os that a user

can't
scroll on a worsheet?

Thanks in Advance

Jason



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Worksheet Scrolling

Hi

What is the code for the scroll area property

Jason

"NickHK" wrote:

Jason,
Whilst you cannot prevent scrolling, you can set the .ScrollArea of a
worksheet, so the user cannot wander outside.
It only functions if the sheet is protected and AFAIK is not persistent; you
have to set it each time the workbook is opened.

The user may be able to scroll depending on the values of their screen
resolution and Excel zoom.

NickHK

"Jason Zischke" wrote in message
...
Hi All,

Is There a way to disable the srcolling on a worksheet os that a user

can't
scroll on a worsheet?

Thanks in Advance

Jason




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Worksheet Scrolling

Dim wsh as worksheet
set wsh=...
wsh.ScrollArea= "$A$1:$F$30"
--
Regards,
Sébastien
<http://www.ondemandanalysis.com


"Jason Zischke" wrote:

Hi

What is the code for the scroll area property

Jason

"NickHK" wrote:

Jason,
Whilst you cannot prevent scrolling, you can set the .ScrollArea of a
worksheet, so the user cannot wander outside.
It only functions if the sheet is protected and AFAIK is not persistent; you
have to set it each time the workbook is opened.

The user may be able to scroll depending on the values of their screen
resolution and Excel zoom.

NickHK

"Jason Zischke" wrote in message
...
Hi All,

Is There a way to disable the srcolling on a worksheet os that a user

can't
scroll on a worsheet?

Thanks in Advance

Jason






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Worksheet Scrolling

Jason,
Did you look at the VBA help in Excel ?

NickHK

"Jason Zischke" wrote in message
...
Hi

What is the code for the scroll area property

Jason

"NickHK" wrote:

Jason,
Whilst you cannot prevent scrolling, you can set the .ScrollArea of a
worksheet, so the user cannot wander outside.
It only functions if the sheet is protected and AFAIK is not persistent;

you
have to set it each time the workbook is opened.

The user may be able to scroll depending on the values of their screen
resolution and Excel zoom.

NickHK

"Jason Zischke" wrote in

message
...
Hi All,

Is There a way to disable the srcolling on a worksheet os that a user

can't
scroll on a worsheet?

Thanks in Advance

Jason






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Worksheet Scrolling

Thanks

It works now and exactlly how I wanted it to.

Jason

"NickHK" wrote:

Jason,
Did you look at the VBA help in Excel ?

NickHK

"Jason Zischke" wrote in message
...
Hi

What is the code for the scroll area property

Jason

"NickHK" wrote:

Jason,
Whilst you cannot prevent scrolling, you can set the .ScrollArea of a
worksheet, so the user cannot wander outside.
It only functions if the sheet is protected and AFAIK is not persistent;

you
have to set it each time the workbook is opened.

The user may be able to scroll depending on the values of their screen
resolution and Excel zoom.

NickHK

"Jason Zischke" wrote in

message
...
Hi All,

Is There a way to disable the srcolling on a worksheet os that a user
can't
scroll on a worsheet?

Thanks in Advance

Jason






Reply
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 stop a worksheet from scrolling? rcomer123 Excel Worksheet Functions 4 April 18th 08 02:22 AM
Scrolling worksheet rahul25 Excel Programming 3 November 19th 05 03:50 PM
How to disable the scrolling in worksheet yangyh Excel Programming 6 September 8th 05 09:36 AM
Automatically scrolling to top of worksheet VanS Excel Worksheet Functions 0 May 25th 05 06:50 PM
Scrolling Marquee in a worksheet. Fred Excel Programming 0 May 21st 04 10:52 PM


All times are GMT +1. The time now is 04:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"