excel activate worksheet script editor code example Example: excel vba how to activate a specific worksheet Worksheets("Sheet1").Activate