<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tdyu5021</author_name>
  <author_url>https://blog.hatena.ne.jp/tdyu5021/</author_url>
  <blog_title>どうでもいいプログラム研究所</blog_title>
  <blog_url>https://tdyu.hatenablog.jp/</blog_url>
  <categories>
    <anon>Excel VBA</anon>
  </categories>
  <description>最近書いた「サクラクレパスクーピーの柄をランダムに生成するExcelマクロを考えてみた」の続きです。ワークシート上でフォームコントロールの図形を扱っていたときに少し引っかかった話です。 フォームコントロールのボタンが消えてしまった このクーピー柄生成マクロを作っている際に、シート上に生成した図形をすべて消すため、以下のマクロを書きました。 Sub deleteAll() Dim shp As Shape For Each shp In ActiveSheet.Shapes shp.Delete Next shp End Sub 見ておわかりの通り、アクティブなシート上に存在する図形をすべて消去…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftdyu.hatenablog.jp%2Fentry%2F2019%2F10%2F12%2F000500&quot; title=&quot;ワークシート上のフォームコントロールはどうやって取得する？【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/t/tdyu5021/20201120/20201120210723.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-10-12 00:05:00</published>
  <title>ワークシート上のフォームコントロールはどうやって取得する？【VBA】</title>
  <type>rich</type>
  <url>https://tdyu.hatenablog.jp/entry/2019/10/12/000500</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
