2016-07-30 56 views
1

我知道如何獲取word應用程序的作者姓名和用戶名。但我不知道如何獲得公司財產的細節。如何使用word vba獲取用戶的公司名稱?

任何人都可以建議我如何獲得使用VBA在Word中使用的公司名稱?

+0

選中此http://stackoverflow.com/questions/5651890/using-vba-to -get-extended-file-attributes – Neelesh

回答

1

我假定你的意思是,這裏出現的公司財產:

enter image description here

您可以使用ThisDocument.BuiltInDocumentProperties("Company")

+0

是的,確切地說。謝謝 –

相關問題