How do I set a page's home cell

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

Guest

I need to set cell A1 as the home cell on each page of an Excel Workbook so
that no matter what I do in another cell, when I press enter, the cursor
moves back to the home cell. Is this possible?
 
For each worksheet, try:

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Count > 1 Then Exit Sub
Range("A1").Select
End Sub

Right-click the ws tab, View Code, and paste in the code
above.

HTH
Jason
Atlanta, GA
 

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