ShowDataForm 方法 (Excel)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. 关闭数据表单后,宏将从 ShowDataForm 方法的下一语句开始继续执行。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.


本示例显示工作表 Sheet1 的数据表单。This example displays the data form for Sheet1.


支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.