excel macro scroll to bottom of page

I have a macro, and would like the macro at the end to be able to scroll to the bottom of the active sheet. can this be done?
Rakz0rAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rory ArchibaldCommented:
Do you literally mean to the bottom of the sheet, or do you mean the last used row?
0
DonkeyOteCommented:
Not entirely clear what you mean ... perhaps:

Application.Goto Cells.Find(What:="*", After:=Cells(1), Lookat:=xlPart, LookIn:=xlFormulas, SearchOrder:=xlByRows, SearchDirection:=xlPrevious, MatchCase:=False), True

0
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello Rakz0r,

maybe add this command to your macro

    ActiveCell.SpecialCells(xlLastCell).Select

cheers, teylyn
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

DonkeyOteCommented:
apologies Rory... didn't meant to step on your blue suede shoes so to speak.
0
DonkeyOteCommented:
Teylyn, using LastCell, UsedRange etc is open to error for this type of thing.

For more info. see: http://www.rondebruin.nl/last.htm
0
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
DonkeyOte, there's really no need to apologise for simultaneous posts. We're all aware that they happen all the time.
0
Rory ArchibaldCommented:
As teylyn said, it's a free-for-all here! :)
0
DonkeyOteCommented:
Teylyn, thanks for your wisdom re: forum etiquette.
0
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
:-)
0
Rakz0rAuthor Commented:
sorry guys.

just to clarify what i need...

i want the macro to scroll down automatically to the bottom of the page using vba code. The reason is the macro executes some code, but the changes only happen at the bottom of the page. So ideally, would like the macro to point to the changes at the bottom. Any of the above do that?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.