Simple File Saving question...

  • Thread starter Thread starter Ian Francis
  • Start date Start date
I

Ian Francis

Everytime I open an Excel spreadsheet it opens to the last cell that I
edited. Does anyone know how to make an Excel spreadsheet open to the top
left cell on the first worksheet everytime... regardless of where I saved it
last?

Thanks,

Ian
 
Hi Ian,

Try this

Private Sub Workbook_Open()
Worksheets("Sheet1").Activate
Range("A1").Select
End Sub


'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Bob,

Worked like a charm!

Thanks,

Ian



Bob Phillips said:
Hi Ian,

Try this

Private Sub Workbook_Open()
Worksheets("Sheet1").Activate
Range("A1").Select
End Sub


'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--

HTH

RP
(remove nothere from the email address if mailing direct)


saved
 

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