Close方法示例
2015-12-15 22:24:54 来源: 评论:0 点击:
下列示例关闭所有打开的非隐藏文档,保存修改内容,同时不提示用户。Application Documents Close 1, 2 下列示例打开
TestPicture ,然后将其关闭,而不保存任何修改内容。Dim iDoc As Object Set iD
下列示例关闭所有打开的非隐藏文档,保存修改内容,同时不提示用户。
Application.Documents.Close 1, 2
下列示例打开 TestPicture ,然后将其关闭,而不保存任何修改内容。
Dim iDoc As Object
Set iDoc = Application.Documents.open("C:Program FilesProficyProficy iFIXpictestpicture.grf")
iDoc.Close 2, 1