如何使用VBA在Macintosh上隐藏Word文档? [英] How to Hide a Word Document on Macintosh with VBA?
问题描述
嗨
在Windows上,我们可以说`ThisDocument.ActiveWindow.Visible = False`
On Windows, we can say `ThisDocument.ActiveWindow.Visible = False`
但是在Mac上,` Visible`属性不可用。
But on Mac, the `Visible` property is not available.
我们如何在Mac上隐藏文档?
How can we hide the document on Mac?
Office 2010。
Office 2010.
Thx!
推荐答案
您可以尝试设置:
Application.ScreenUpdating = False
,或者您可以尝试:打开它后,打开它:$
ActiveWindow.WindowState = wdWindowStateMinimize。您可能会尝试使用以下内容(以及Mac支持):
Application.Visible = False
You could try setting:
Application.ScreenUpdating = False
before opening the document, or you might try:
ActiveWindow.WindowState = wdWindowStateMinimizeafter opening it. Depending on what you're doing (and Mac support) you might even try:
Application.Visible = False
这篇关于如何使用VBA在Macintosh上隐藏Word文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!