Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default moving to new cell and scrolling

Hi,

I want write some code that does the following:

Starting point would be in cell a1:-

1. move to cell a100
2. scroll window so that a100 is the top left visible cell

Clearly doing point 1 is easy, but how to I get the window to scroll
so that a100 is now at the top as opposed to the bottom?

Cheers.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default moving to new cell and scrolling

Range("A1").select
With Active Window
.ScrollColumn=1
.ScrollRow=1
End With
HTH Otto
"macroapa" wrote in message
...
Hi,

I want write some code that does the following:

Starting point would be in cell a1:-

1. move to cell a100
2. scroll window so that a100 is the top left visible cell

Clearly doing point 1 is easy, but how to I get the window to scroll
so that a100 is now at the top as opposed to the bottom?

Cheers.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default moving to new cell and scrolling

Use this

Application.Goto Range("A100"), scroll:=True


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"macroapa" wrote in message ...
Hi,

I want write some code that does the following:

Starting point would be in cell a1:-

1. move to cell a100
2. scroll window so that a100 is the top left visible cell

Clearly doing point 1 is easy, but how to I get the window to scroll
so that a100 is now at the top as opposed to the bottom?

Cheers.

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
How do I stop cells / rows from moving, scrolling? paul Excel Discussion (Misc queries) 3 July 9th 06 03:29 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


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