Consulting

Results 1 to 3 of 3

Thread: Help next sheet macro

  1. #1

    Help next sheet macro

    Please reply a macro code for selecting next sheet in excel please.....

  2. #2
    Sheets(Application.WorksheetFunction.Min(Activesheet.Index+1, Sheets.Count)).Select
    -------------------------------------------------
    The more details you give, the easier it is to understand your question. Don't save the effort, tell us twice rather than not at all. The amount of info you give strongly influences the quality of answer, and also how fast you get it.

  3. #3
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,720
    Location
    I don't know why you'd bother, but:

    Sub selectNextSheet()
        On Error Resume Next
        ActiveSheet.Next.Select
    End Sub
    Be as you wish to seem

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •