Please reply a macro code for selecting next sheet in excel please.....
Please reply a macro code for selecting next sheet in excel please.....
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.
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