Open to Same Cell Each Time

J

jennie277

Hi

Is there anyway of getting a workbook to open up to the same cell or
worksheet each time, regardless of where it was saved when it was last
closed?

Thanks
Jennie
 
B

Bob Phillips

Jennie,

In the workbook open event add code to activate a worksheet and cell. As an
example

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


This code should be put in the ThisWorkbook code module, which is under the
Microsoft Excel Objects folder in the project pane.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

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

Top