Select / Activate last Sheet

  • Thread starter Thread starter Sean
  • Start date Start date
S

Sean

What code could I use to select cell A1 in the last sheet? I have
variable quantities of sheets and the sheet names can be changed. So I
guess its something like Worksheets(xxx).Select, but how do I know the
last number?

Thanks
 
Ok, just spotted an archived post, that does the trick

Dim i As Integer
i = Sheets.Count
Sheets(i).Select

Very clever
 

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

Similar Threads


Back
Top