2013-03-01 25 views

回答

0

從MSDN

替換Fields集合中的所有字段以及他們最近的成績。

當您取消鏈接字段時,當前結果將轉換爲文本或圖形,並且不能再自動更新。請注意,某些字段(如XE(索引條目)字段和SEQ(序列) 字段)不能被解除鏈接。

所以

With ActiveDocument.Sections(1).Range.Fields 
.Unlink 
End With 

ActiveDocument.Sections(1).Range.Fields(1) = "whatever" 
ActiveDocument.Sections(1).Range.Fields(1).update 

應該給錯誤