Refer to More Than One Sheet

Use the Array function to identify a group of sheets. The following example selects three sheets in the active workbook.

Sub Several() 
 Worksheets(Array("Sheet1", "Sheet2", "Sheet4")).Select 
End Sub

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.