Refer to Sheets by Name

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

You can identify sheets by name using the Worksheets and Charts properties. The following statements activate various sheets in the active workbook.


You can use the Sheets property to return a worksheet, chart, module, or dialog sheet. The Sheets collection contains all of these kinds of sheets. The following example activates the sheet named "Chart1" in the active workbook.

Sub ActivateChart() 
End Sub
Note Note

Charts embedded in a worksheet are members of the ChartObjects collection, whereas charts that exist on their own sheets belong to the Charts collection.