set sheet1 as active sheet in VBA code example Example: excel vba how to activate a specific worksheet Worksheets("Sheet1").Activate