<?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>
    <anon>テーブル機能</anon>
    <anon>失敗談</anon>
  </categories>
  <description>テーブルのデータを消そうとして、失敗した時のお話。 先日から登場している、このテーブルを例に説明する。 このデータを綺麗に消したい時、一番手っ取り早いのは、例えばこんなやり方だ。 Sub test() ActiveSheet.ListObjects(1).DataBodyRange.Delete End Sub アクティブシートの、ListObject（=テーブル）の塊（なので複数形のｓが付き）の一つ目の（つまり（１））、データが入った範囲（＝DataBodyRange）を削除（Delete）する。 ※今回は、たまたま一つ目のテーブルだったので、ListObjects(1)となっている。 ※二…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2019%2F12%2F18%2F225955&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/20191218/20191218223625.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-18 22:59:55</published>
  <title>テーブルのデータを消すときの注意点（失敗談）</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2019/12/18/225955</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
