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