Set Document Focus to Top of Datasheet

  • Thread starter Thread starter aine_canby
  • Start date Start date
A

aine_canby

When opening an excel doc, I'd like it alway to open with the top
portion of its datasheet visual. That is, the A1 cell should be
visible when the document opens. At the moment, it opens up to show
where in the document it was when it was last closed.



Thanks,

Aine
 
Aine,

Put this in 'ThisWorkbook':

Private Sub Workbook_Open()
ActiveSheet.Range("A1").Select
End Sub
 
Set the workbook on open event to select sheets("sheetname").cells(1,1)
 

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