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