0
我想從VBA宏更新Word字段。
Word Doucument是wrdDoc,代碼如下。
當我運行代碼時,在檢索屬性時出現類型不匹配錯誤。vba如何更新字段
如果有人能幫助,我會很感激。
Dim objCustomProperties As CustomProperties
Set objCustomProperties = wrdDoc.CustomDocumentProperties
For i = 1 To objCustomProperties.count
objCustomProperty = objCustomProperties.Item(i)
Next
爲您做了以下工作嗎?如果是這樣,您可以選擇答案旁邊的空白複選標記 – 2011-04-05 20:57:05