版主: 你好! 请问如何替换页眉中的表格的第1行第2列的文字,例如从1111替换成1111:2222? 在word中录了宏,是改变页眉中表格高度和第二列宽度,在第二列中键入“1111”的,但是改造成VB程序出错,解决不了,特向版主求教。谢谢! 宏如下: If ActiveWindow.View.SplitSpecial <> wdPaneNone Then ActiveWindow.Panes(2).Close End If If ActiveWindow.ActivePane.View.Type = wdNormalView Or ActiveWindow. _ ActivePane.View.Type = wdOutlineView Then ActiveWindow.ActivePane.View.Type = wdPrintView End If ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader Selection.MoveRight Unit:=wdCharacter, Count:=10 Selection.TypeBackspace Selection.TypeBackspace Selection.TypeBackspace Selection.TypeBackspace Selection.TypeText Text:="1111" ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument |