跳至主內容區

台南市新進國小全球資訊網

工具列

:::

左邊區域內容

:::

主內容區域

9-1 刪除 Excel 工作表中的空白列

Sub DeleteEmptyRows()
    SelectedRange = Selection.Rows.Count
    ActiveCell.Offset(0, 0).Select
    For i = 1 To SelectedRange
        If ActiveCell.Value = "" Then
            Selection.EntireRow.Delete
        Else
            ActiveCell.Offset(1, 0).Select
        End If
    Next i
End Sub

 


:::

右邊區域內容

請由此登入

使用臺南市OpenID認證系統登入
會員登入

學校簡介

天氣預報

AQI空氣品質

頁尾區域