<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Infoment</author_name>
  <author_url>https://blog.hatena.ne.jp/Infoment/</author_url>
  <blog_title>Infomentのブログ ～Excel VBA奮闘記～</blog_title>
  <blog_url>https://infoment.hatenablog.com/</blog_url>
  <categories>
    <anon>Excel</anon>
    <anon>VBA</anon>
  </categories>
  <description>或る列に於いて、空白セルを行ごと削除したい。 例えば、↓このような場合だ。様々な方がweb上で紹介されているとおり、上から順に消した場合、指示行と処理行の段違いが発生して大惨事になる。従い、下から削除するのが一般的なようだ。 Sub RowDelete() Dim i As Long For i = 10 To 1 Step -1 If Cells(i, 1).Value = &quot;&quot; Then Cells(i, 1).EntireRow.Delete End If Next End Sub どうしても上から順に確認したい！という場合は、こんな方法もある。 Sub RowDelete() ' 空白…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2019%2F01%2F01%2F045611&quot; title=&quot;一行のコードで終わらせる　① 空白セルを行ごと削除 - Infomentのブログ ～Excel VBA奮闘記～&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/I/Infoment/20190101/20190101041636.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-01 04:56:11</published>
  <title>一行のコードで終わらせる　① 空白セルを行ごと削除</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2019/01/01/045611</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
