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 / June 2007

Tip: Looking for answers? Try searching our database.

Make Excel view show active cell in top left with VBA?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Russ3Z - 09 Jun 2007 05:10 GMT
I am using a vba macro to go to various ranges on a sheet.  When the
range is selected, I would like for Excel to align the top left cell
of the range to be the top left cell in the view.

So, whether I select cell A5 or cell A127, for instance, I want that
cell to be at the top left corner of the current view.

Thanks,
Russ
Gord Dibben - 09 Jun 2007 05:27 GMT
Application.Goto Reference:=ActiveCell, Scroll:=True

Gord Dibben  MS Excel MVP

>I am using a vba macro to go to various ranges on a sheet.  When the
>range is selected, I would like for Excel to align the top left cell
[quoted text clipped - 5 lines]
>Thanks,
>Russ
Russ3Z - 09 Jun 2007 05:43 GMT
Gord,

Thank you for the quick reply.  It worked perfectly.

Russ
Gord Dibben - 09 Jun 2007 05:45 GMT
Thanks for the feedback.

Gord

>Gord,
>
>Thank you for the quick reply.  It worked perfectly.
>
>Russ
 
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.