word怎么改表格内的文字,表格,怎么改,文字
1.怎么批量变动WORD文档中所有表格的某一栏文字 第一步,先用宏将所有表格选中: Sub 宏1() Dim mytable As Table Application.ScreenUpdating = False For Each mytable In ActiveDocument.Tables mytable.Range.Editor
Sub 宏1()
Dim mytable As Table
Application.ScreenUpdating = False
For Each mytable In ActiveDocument.Tables
mytable.Range.Editors.Add wdEditorEveryone
Next
ActiveDocument. (wdEditorEveryone)
ActiveDocument. (wdEditorEveryone)
Application.ScreenUpdating = True
End Sub
第二步,配置名目。先配置好字体字号,再配置表格属性:右键——表格属性(可能点菜单栏的表格——表格属性)——行,选中“指定高度”,在“行高值是”中选择“牢靠值”,设定一个适当值。