Dim Book As New XLS.Book("c:\\test\\订单.xls")
Dim Sheet As XLS.Sheet = Book.Sheets(0)
For n As Integer = Sheet.Rows.Count -1 To 1 Step -1
If Sheet(n,1).Value = "" AndAlso Sheet(n,2).Value = "" AndAlso Sheet(n,3).Value = "" AndAlso Sheet(n,4).Value = "" AndAlso Sheet(n,5).Value = ""
Sheet.Rows.RemoveAt(n)
else
return ""
End If
Next