<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>arekoretips</author_name>
  <author_url>https://blog.hatena.ne.jp/arekoretips/</author_url>
  <blog_title>技術tips保管庫</blog_title>
  <blog_url>https://arekoretips.hatenablog.jp/</blog_url>
  <categories>
    <anon>Excel VBA</anon>
    <anon>作業効率化</anon>
  </categories>
  <description>目次 目次 このページで書くこと 経緯 使用するデータ 使用するコード 解説 備考 このページで書くこと Excel VBAでオートフィルタを使用した際、表示された結果が0件かどうかを判別させます。 0件の場合はその旨のポップアップを表示させ、1件以上の場合はその結果の最終行の任意のセルを選択させます。 経緯 以前、少し厄介なデータを手作業で集計した際、資料Aの1のデータをコピー →コピーしたデータを資料Bのオートフィルタで検索 →オートフィルタの結果が1件なら作業A、2件以上なら作業B、0件なら作業C →資料Aの2のでデータをコピー →…… →資料Aの100のでデータをコピー →……といった…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Farekoretips.hatenablog.jp%2Fentry%2F2021%2F06%2F06%2F080555&quot; title=&quot;【Excel VBA】オートフィルタ後に表示されたセルを選択させる - 技術tips保管庫&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/a/arekoretips/20210606/20210606054357.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-06 08:05:55</published>
  <title>【Excel VBA】オートフィルタ後に表示されたセルを選択させる</title>
  <type>rich</type>
  <url>https://arekoretips.hatenablog.jp/entry/2021/06/06/080555</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
