word 宏VBA实现统计行

180it 2019-09-25 PM 3305℃ 0条

Sub lineCount()

'统计行数

Dim wordCount, lineCount
Set myRange = Selection.Range
lineCount = myRange.ComputeStatistics(Statistic:=wdStatisticLines)

MsgBox lineCount
End Sub

支付宝打赏支付宝打赏 微信打赏微信打赏

如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!

标签: none

word 宏VBA实现统计行