|
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
不劳 ming 老师 出手,我先抛砖引玉,请 楼主 试用:
- Sub aaaa单元格批量复制()
- Dim t As Table, s$, i$
- For Each t In ActiveDocument.Tables
- s = t.Range.Cells(9).Range.Text
- s = Left(s, Len(s) - 2)
- i = i & "/" & s
- Next
- ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges
- Documents.Add.Content.Text = i
- With ActiveDocument
- .Content.Find.Execute "/", , , 1, , , , , , "^p", 2
- .Characters(1).Delete
- End With
- ActiveWindow.ActivePane.View.Zoom.PageFit = wdPageFitBestFit
- MsgBox "处理完毕!文档尚未保存!", 0 + 16
- End Sub
复制代码 |
评分
-
1
查看全部评分
-
|