Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default ScrollIntoView Non-Selected Cell ..?

How do i..

Without selecting it.. ScrollIntoView a Cell.. Say... R120C140
...?

ActiveWindow.ScrollintoView .. but how to find the Document Coords in
Pixels of that Cell ..? when Rows/Columns are uneven sized ..?


Any Feedback would be Appreciated..
Andrew ;-)


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default ScrollIntoView Non-Selected Cell ..?

sub dk()
ActiveWindow.ScrollRow = 120
ActiveWindow.ScrollColumn = 140
End Sub

This would put row 120, column 140 in the upper left corner of the screen.


"Andrew" wrote in message
...
How do i..

Without selecting it.. ScrollIntoView a Cell.. Say... R120C140
..?

ActiveWindow.ScrollintoView .. but how to find the Document Coords in
Pixels of that Cell ..? when Rows/Columns are uneven sized ..?


Any Feedback would be Appreciated..
Andrew ;-)




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default ScrollIntoView Non-Selected Cell ..?

P.S. The pixels are measured against the display screen surface and not
against the worksheet. There is no method that I know of to accurately
measure anything in relation to the grid of a worksheet. You can use the
Top and Left methods, or the Upper Left Corner method, but these are
relative measurements based on a configuration that is subject to change.
Excel is not really a graphics application.



"Andrew" wrote in message
...
How do i..

Without selecting it.. ScrollIntoView a Cell.. Say... R120C140
..?

ActiveWindow.ScrollintoView .. but how to find the Document Coords in
Pixels of that Cell ..? when Rows/Columns are uneven sized ..?


Any Feedback would be Appreciated..
Andrew ;-)




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default ScrollIntoView Non-Selected Cell ..?

Thx JLGWhiz..

Thats exactly what was looking for
.... ;-)




"JLGWhiz" wrote in message
...
| P.S. The pixels are measured against the display screen surface and
not
| against the worksheet. There is no method that I know of to
accurately
| measure anything in relation to the grid of a worksheet. You can
use the
| Top and Left methods, or the Upper Left Corner method, but these are
| relative measurements based on a configuration that is subject to
change.
| Excel is not really a graphics application.
|
|
|
| "Andrew" wrote in message
| ...
| How do i..
|
| Without selecting it.. ScrollIntoView a Cell.. Say... R120C140
| ..?
|
| ActiveWindow.ScrollintoView .. but how to find the Document
Coords in
| Pixels of that Cell ..? when Rows/Columns are uneven sized ..?
|
|
| Any Feedback would be Appreciated..
| Andrew ;-)
|
|
|
|


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
Multiple cells or columns are selected instead of selected cell or Mikey Excel Discussion (Misc queries) 1 April 29th 09 09:48 PM
Macro to take selected cells times a selected cell Craig Excel Programming 4 October 24th 05 12:54 AM
how read value from last selected cell? It is possible? how get adress last selected cell? Andrzej New Users to Excel 4 May 30th 05 07:28 PM
how read value from last selected cell? It is possible? how get adress last selected cell? Andrzej Excel Programming 1 May 30th 05 06:18 PM


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