學而時習之
Linux B2D Python PostgreSQL MySQL Excel VBA CentOS VirtualBox Ubuntu OpenOffice.org Basic
2009年7月22日 星期三
VBA Excel 中刪除空行
今天才看到這段 code ,太精簡了。
Sub DeleteBlanks()
Dim rng As Range
Set rng = Columns(1).SpecialCells(xlCellTypeBlanks)
rng.EntireRow.Delete
End Sub
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言