Worksheet Methods (Excel)
Contribute to this content Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation. |
Methods
Name |
Description |
---|---|
Makes the current sheet the active sheet. |
|
Calculates all open workbooks, a specific worksheet in a workbook, or a specified range of cells on a worksheet, as shown in the following table. |
|
Returns an object that represents either a single embedded chart (a ChartObject object) or a collection of all the embedded charts (a ChartObjects object) on the sheet. |
|
Checks the spelling of an object. |
|
Circles invalid entries on the worksheet. |
|
Clears the tracer arrows from the worksheet. Tracer arrows are added by using the auditing feature. |
|
Clears circles from invalid entries on the worksheet. |
|
Copies the sheet to another location in the workbook. |
|
Deletes the object. |
|
Converts a Microsoft Excel name to an object or a value. |
|
Exports to a file of the specified format. |
|
Moves the sheet to another location in the workbook. |
|
Returns an object that represents either a single OLE object (an OLEObject ) or a collection of all OLE objects (an OLEObjects collection) on the chart or sheet. Read-only. |
|
Pastes the contents of the Clipboard onto the sheet. |
|
Pastes the contents of the Clipboard onto the sheet, using a specified format. Use this method to paste data from other applications or to paste data in a specific format. |
|
Returns an object that represents either a single PivotTable report (a PivotTable object) or a collection of all the PivotTable reports (a PivotTables object) on a worksheet. Read-only. |
|
Creates a new PivotTable report. This method doesn’t display the PivotTable Wizard. This method isn’t available for OLE DB data sources. Use the Add method to add a PivotTable cache, and then create a PivotTable report based on the cache. |
|
Prints the object. |
|
Shows a preview of the object as it would look when printed. |
|
Protects a worksheet so that it cannot be modified. |
|
Resets all page breaks on the specified worksheet. |
|
Saves changes to the chart or worksheet in a different file. |
|
Returns an object that represents either a single scenario (a Scenario object) or a collection of scenarios (a Scenarios object) on the worksheet. |
|
Selects the object. |
|
Sets the background graphic for a worksheet. |
|
Makes all rows of the currently filtered list visible. If AutoFilter is in use, this method changes the arrows to "All." |
|
Displays the data form associated with the worksheet. |
|
Removes protection from a sheet or workbook. This method has no effect if the sheet or workbook isn't protected. |
|
Returns a Range object that represents the cells mapped to a particular XPath. Returns Nothing if the specified XPath has not been mapped to the worksheet, or if the mapped range is empty. |
|
Returns a Range object that represents the cells mapped to a particular XPath. Returns Nothing if the specified XPath has not been mapped to the worksheet. |