Worksheet.ShowDataForm Method (Excel)

Displays the data form associated with the worksheet.

Syntax

expression .ShowDataForm

expression A variable that represents a Worksheet object.

Remarks

The macro pauses while you’re using the data form. When you close the data form, the macro resumes at the line following the ShowDataForm method.

This method runs the custom data form, if one exists.

Example

This example displays the data form for Sheet1.

Worksheets(1).ShowDataForm

請參閱

概念

Worksheet Object

Worksheet Object Members