《中國哲學書電子化計劃》網頁文本處理[Word VBA]
Sub 中國哲學書電子化計劃_表格轉文字(ByRef r As Range)
On Error GoTo eH
'Dim d As Document
Dim tb As Table, c As Cell ', ci As Long
'Set d = ActiveDocument
If r.Tables.Count > 0 Then
For Each tb In r.Tables
tb.Columns(1).Delete
Set r = tb.ConvertToText()
Next tb
End If
原创
2020-08-25 16:21:11 ·
696 阅读 ·
0 评论