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

I have a series of control buttons that navigate the user around a given
worksheet. To do so effectively, I need to restrict scrolling to a given
range after pressing each button. Upon pressing the next button, the
scrolling restriction needs to be turned off first, then run macro, then turn
on new scrolling range restriction. Is this possible?
Thanks,
--Kim
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default restrict scrolling

Hi,
Check at the ScrollArea property of the Worksheet object in the online help.
Set it to the proper area each time a button is clicked.
Also to jump to a place in a sheet, use:
Application.Goto reference:=Worksheets("Sheet1").Range("A10"), scroll:=True

Finally, a note: the ScrollArea is reset to "" when the book open. SO , if
you want to start with an specific scrollarea when the book opens, you have
to set it in the Workbook_Open sub

--
Regards,
Sébastien


"KimR.Hammel" wrote:

I have a series of control buttons that navigate the user around a given
worksheet. To do so effectively, I need to restrict scrolling to a given
range after pressing each button. Upon pressing the next button, the
scrolling restriction needs to be turned off first, then run macro, then turn
on new scrolling range restriction. Is this possible?
Thanks,
--Kim

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default restrict scrolling

Kim, something like this


Worksheets(1).ScrollArea = ""

'your macro


Worksheets(1).ScrollArea = "a1:h25"


--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"KimR.Hammel" wrote in message
...

I have a series of control buttons that navigate the user around a given
worksheet. To do so effectively, I need to restrict scrolling to a given
range after pressing each button. Upon pressing the next button, the
scrolling restriction needs to be turned off first, then run macro, then
turn
on new scrolling range restriction. Is this possible?
Thanks,
--Kim



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
Excel- smooth scrolling (instead of 'snap' scrolling) scooterbaga Setting up and Configuration of Excel 2 April 24th 08 02:16 PM
Vertical scrolling...jumps rather than smooth scrolling Miller Man Excel Discussion (Misc queries) 2 January 23rd 07 07:11 PM
Live Scrolling/Real-Time /Smooth Scrolling doesn't work for me in Excel, even 2007 beta [email protected] Excel Discussion (Misc queries) 2 July 21st 06 01:21 AM
Live Scrolling/Real-Time /Smooth Scrolling doesn't work for me in Excel 2003 [email protected] Excel Discussion (Misc queries) 0 May 12th 06 03:15 AM
restrict users Restricted user access for exel workbook Excel Worksheet Functions 0 March 15th 06 03:27 PM


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