Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2008

Tip: Looking for answers? Try searching our database.

How to put the selected cell onscreen, but not upper left

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
davegb - 03 Mar 2008 18:16 GMT
I want to put the currently selected cell onscreen but not at the top
left. I want a cell in Col E selected, but I want the user to see cols
A-E. I can manipulate XL to select A9, then scroll there, then select
E9, but it seems there must be a better, more direct way. Right now I
have:

Application.Goto Reference:=ActiveCell, Scroll:=True

which puts the selected cell (E9) in the upper left of the display.

Thanks for the help.
Gary''s Student - 03 Mar 2008 18:51 GMT
Try this:

Sub marine()
Range("E9").Select
Application.Goto Reference:=ActiveCell, Scroll:=True
ActiveWindow.ScrollColumn = 1
End Sub

Signature

Gary''s Student - gsnu2007e

> I want to put the currently selected cell onscreen but not at the top
> left. I want a cell in Col E selected, but I want the user to see cols
[quoted text clipped - 7 lines]
>
> Thanks for the help.
davegb - 03 Mar 2008 18:57 GMT
On Mar 3, 11:51 am, Gary''s Student
<GarysStud...@discussions.microsoft.com> wrote:
> Try this:
>
[quoted text clipped - 20 lines]
>
> - Show quoted text -

Bingo! Thanks for the prompt reply.
Ron de Bruin - 03 Mar 2008 18:59 GMT
If I understand you correct ?

Sub test()
   Application.Goto Reference:=Cells(ActiveCell.Row, 1), Scroll:=True
   Cells(ActiveCell.Row, 5).Select
End Sub

Signature

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

>I want to put the currently selected cell onscreen but not at the top
> left. I want a cell in Col E selected, but I want the user to see cols
[quoted text clipped - 7 lines]
>
> Thanks for the help.
davegb - 03 Mar 2008 21:09 GMT
> If I understand you correct ?
>
[quoted text clipped - 20 lines]
>
> - Show quoted text -

Thanks, Ron!

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.