Worksheet Property

Microsoft Office Web Components Visual Basic

expression.Worksheet

expression    Required. An expression that returns a Range object.

Example

This example activates the worksheet in Spreadsheet1 that contains the range named "Revenue."

Spreadsheet1.Range("Revenue").Worksheet.Activate