change active sheet excel vba code example Example: excel vba how to activate a specific worksheet Worksheets("Sheet1").Activate