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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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?
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

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

maybe add this command to your macro

    ActiveCell.SpecialCells(xlLastCell).Select

cheers, teylyn

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
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

DonkeyOteCommented:
apologies Rory... didn't meant to step on your blue suede shoes so to speak.
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
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.
Rory ArchibaldCommented:
As teylyn said, it's a free-for-all here! :)
DonkeyOteCommented:
Teylyn, thanks for your wisdom re: forum etiquette.
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
:-)
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?
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.