Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default scroll so that the upper left cell in a range moves to the upper left of the active window

I have single cells that have range names. Simple selection macros select
it. problem is that it is not displayed in the upper left corner of the
window, I have to manually scroll to show the cells below the named cell. I
know it's simple but I can't locate any reference to it in the books I have.
any help would be appreciated, thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default scroll so that the upper left cell in a range moves to the upper left of the active window

If you don't have to show it in the upper left corner of the window, then
just execute the Show method for it... that will make it appear at the
bottom of the window. For example,

Range("F150").Value = "XXX"
Range("F150").Show

--
Rick (MVP - Excel)


"Andre" wrote in message
...
I have single cells that have range names. Simple selection macros select
it. problem is that it is not displayed in the upper left corner of the
window, I have to manually scroll to show the cells below the named cell.
I know it's simple but I can't locate any reference to it in the books I
have. any help would be appreciated, thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default scroll so that the upper left cell in a range moves to the upper l

To show it in the top left corner

Application.Goto ActiveCell, Scroll:=True

Mike

"Andre" wrote:

I have single cells that have range names. Simple selection macros select
it. problem is that it is not displayed in the upper left corner of the
window, I have to manually scroll to show the cells below the named cell. I
know it's simple but I can't locate any reference to it in the books I have.
any help would be appreciated, thanks


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default scroll so that the upper left cell in a range moves to the upper l

Thanks Mike... I just learned something new.

--
Rick (MVP - Excel)


"Mike H" wrote in message
...
To show it in the top left corner

Application.Goto ActiveCell, Scroll:=True

Mike

"Andre" wrote:

I have single cells that have range names. Simple selection macros select
it. problem is that it is not displayed in the upper left corner of the
window, I have to manually scroll to show the cells below the named
cell. I
know it's simple but I can't locate any reference to it in the books I
have.
any help would be appreciated, thanks



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default scroll so that the upper left cell in a range moves to the upper l

In addition to Mike's suggestion, If you want to specify other than the
active sheet or active cell, this is the full syntax.

Sub Scrl()
Application.Goto Reference:=Worksheets("Sheet3").Range("T120"), _
Scroll:=True
End Sub

"Andre" wrote:

I have single cells that have range names. Simple selection macros select
it. problem is that it is not displayed in the upper left corner of the
window, I have to manually scroll to show the cells below the named cell. I
know it's simple but I can't locate any reference to it in the books I have.
any help would be appreciated, thanks




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default scroll so that the upper left cell in a range moves to the upp

I'm; how shall we we say, a septugenarian and I hope there never comes a day
when I don't learn something new but I'm comforted in the knowledge I'm a
very long way from that point at the moment :)

"Rick Rothstein" wrote:

Thanks Mike... I just learned something new.

--
Rick (MVP - Excel)


"Mike H" wrote in message
...
To show it in the top left corner

Application.Goto ActiveCell, Scroll:=True

Mike

"Andre" wrote:

I have single cells that have range names. Simple selection macros select
it. problem is that it is not displayed in the upper left corner of the
window, I have to manually scroll to show the cells below the named
cell. I
know it's simple but I can't locate any reference to it in the books I
have.
any help would be appreciated, thanks




  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default scroll so that the upper left cell in a range moves to the upp

Right Mike, at our age we welcome the opportunity to learn. Remembering is
the problem.

"Mike H" wrote:

I'm; how shall we we say, a septugenarian and I hope there never comes a day
when I don't learn something new but I'm comforted in the knowledge I'm a
very long way from that point at the moment :)

"Rick Rothstein" wrote:

Thanks Mike... I just learned something new.

--
Rick (MVP - Excel)


"Mike H" wrote in message
...
To show it in the top left corner

Application.Goto ActiveCell, Scroll:=True

Mike

"Andre" wrote:

I have single cells that have range names. Simple selection macros select
it. problem is that it is not displayed in the upper left corner of the
window, I have to manually scroll to show the cells below the named
cell. I
know it's simple but I can't locate any reference to it in the books I
have.
any help would be appreciated, thanks




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
Moving Active Cell to Upper Left Hand Corner of Screen RJB Excel Programming 2 March 29th 07 08:18 PM
How to make a cell appear in upper left (top left) corner of works jeff Excel Programming 2 March 6th 07 10:14 PM
How to change location A1 cell from upper right to upper left? Doug@Peacock Excel Discussion (Misc queries) 1 February 8th 05 02:37 PM
Cell A1 in Upper Left Corner pjhageman[_6_] Excel Programming 3 January 10th 04 08:56 PM
Getting specific cell to be in upper left ? Don Wiss Excel Programming 5 November 12th 03 01:52 AM


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