Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to disable the scrolling in worksheet


Dear all,

How can I disable the scrolling function in a Excel Worksheet. Also I
want to disable the "Close Window" button. Any tips? Thanks.

Best regards,

David Yang


--
yangyh
------------------------------------------------------------------------
yangyh's Profile: http://www.excelforum.com/member.php...o&userid=26883
View this thread: http://www.excelforum.com/showthread...hreadid=401139

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default How to disable the scrolling in worksheet

David,

You can hide scrollbars by

Application.DisplayScrollBars = False

Not sure about the Close Window button.

HTH,
John

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to disable the scrolling in worksheet


yangyh Wrote:
Dear all,

How can I disable the scrolling function in a Excel Worksheet. Also I
want to disable the "Close Window" button. Any tips? Thanks.

Best regards,

David Yang


Hi David

To get rid of scrolling try Tools Options View Tab, uncheck the
Horizontal and Vertical Scroll Bars in Window options

Sorry can't help with Close Window button


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=401139

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to disable the scrolling in worksheet


Thank you guys. But actually I want to disable the scorlling function.
Not only just
hide the scrol bar. What shall I do? Thanks.

David


--
yangyh
------------------------------------------------------------------------
yangyh's Profile: http://www.excelforum.com/member.php...o&userid=26883
View this thread: http://www.excelforum.com/showthread...hreadid=401139

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default How to disable the scrolling in worksheet

If you mean you want to restrict user to selecting and/or scrolling to
within a specific area, set the ScrollArea to suit, eg B2:K20

Rt-click the sheet tab, view code and you should see the ScrollArea setting
in the Properties panel, typically bottom left of the VBE. Though you might
need first to select the sheetname in the top left panel and press F4.

Regards,
Peter T

"yangyh" wrote in
message ...

Thank you guys. But actually I want to disable the scorlling function.
Not only just
hide the scrol bar. What shall I do? Thanks.

David


--
yangyh
------------------------------------------------------------------------
yangyh's Profile:

http://www.excelforum.com/member.php...o&userid=26883
View this thread: http://www.excelforum.com/showthread...hreadid=401139





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to disable the scrolling in worksheet


Peter,

It works perfectly. But I'm wondering is there any function to realiz
it. Thank.

Davi

--
yangy
-----------------------------------------------------------------------
yangyh's Profile: http://www.excelforum.com/member.php...fo&userid=2688
View this thread: http://www.excelforum.com/showthread.php?threadid=40113

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default How to disable the scrolling in worksheet

It works perfectly. But I'm wondering is there any function to realize
it. Thank.


To set a scroll area

Worksheets("Sheet1").ScrollArea = "B2:K20"

and reset

Worksheets("Sheet1").ScrollArea = ""

Regards,
Peter T


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
Stop scrolling on 1 worksheet Ollie Excel Discussion (Misc queries) 6 January 1st 08 02:58 AM
Scrolling the Worksheet with the scrollbar Fred Holmes Excel Discussion (Misc queries) 3 August 16th 05 10:32 PM
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 05:10 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"