如何用宏清除 洗掉Word 檔案 表格內 空格 空行 空段落 (清除選定的表格、或者全部表格)
uj5u.com熱心網友回復:
dim space as stringfor each uTable as Word.Table in oWordDoc.Tables
for each uRow as Word.Row in uTable.Rows
space = "yes"
for each uCell as Word.Cell in uRow.Cells
if uCell.rang.text.length > 1 then
space = "no"
end if
next
if space = yes then
uRow.delete()
end if
next
next
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/76646.html
