【Excel】行や列を削除するマクロ 2017年7月8日 (土) 21:30 in Excel , VBA 行や列を削除するマクロです。 行 たとえば、このシートの2行目を削除するには、次のように記述します。 12345Sub DeleteRow() Rows(2).Delete End Sub 実行結果 列 たとえば、このシートの3列目を削除するには、次のように記述します。 12345Sub DeleteColumn() Columns(3).Delete End Sub 実行結果 Please enable JavaScript to view the comments powered by Disqus. スポンサーリンク https://hosopro.blogspot.com/2017/07/excel-vba-row-column-delete.html 【Excel】行や列を削除するマクロ Related Posts