Word VBA:如何确定新创建和修改的文档?

发布于 2024-08-11 02:46:12 字数 132 浏览 1 评论 0原文

有谁知道Word VBA中如何确定:

  1. 文档是新创建的;
  2. 文件被用户修改了?

我找到了 Document.Saved 属性,但它对我的情况没有帮助。

太感谢了!

Does anybody know in Word VBA how to determine:

  1. A document is newly created;
  2. A document is modified by the user?

I found the Document.Saved property, but it does not help in my case.

Thank you so much!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淡淡離愁欲言轉身 2024-08-18 02:46:12

Document.Path - 如果它是现有文档而不是新文档。
你说的“这没有帮助......”是什么意思?

Document.Path - if it is an existing document as against a new one.
What do you mean by "it does not help..."?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文