Scroll to last row with Data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
Is there a way to scroll down to the last row that contains data? I'm using
the "LASTINCOLUMN" Function right now to get a value, but would also at times
like to go physically to the last row too.

I would run this procedure by pushing a command button.

I understand how to connect the button to the procedure.

I tried the archives but maybe didn't word it right.

Thank you for your time,
Amy
 
I use this to goto the last row then scroll up so the last row is near
the bottom.
Application.Goto reference:=Cells _
(ActiveCell.SpecialCells(xlCellTypeLastCell).Row, 1), _
Scroll:=True
ActiveWindow.SmallScroll Up:=40 'Change 40 as needed

Charles
 
Thanks Die, it works!
The "ActiveWindow.SmallScroll Up:=40 'Change 40 as needed" feature is a
nice touch too.
Amy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top