Can I format cell to autonumber everytime I enter spreadsheet?

  • Thread starter Thread starter Grant
  • Start date Start date
What you want is
Private Sub Workbook_Open() ' in ThisWorkbook module
Sheets("Sheet1").Cells(1, 1) = Sheets("Sheet1").Cells(1, 1) + 1
End Sub
 

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