Worksheet.ShowDataForm method (Excel)
Displays the data form associated with the worksheet.
expression A variable that represents a Worksheet object.
The macro pauses while you are 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.
This example displays the data form for Sheet1.
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.