<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ke_takahashi</author_name>
  <author_url>https://blog.hatena.ne.jp/ke_takahashi/</author_url>
  <blog_title>memorandums</blog_title>
  <blog_url>https://memorandums.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>以前、Excelのマクロでガントチャートを自動作成するプログラムを作ったのですが、そのプログラムをExcel2007で動かすと右図のようにラベルに枠が表示されてしまいます。APIが変わったと思い、マクロ記録を開始してテキストボックスを作成したものの、VBAコードが記録されません。。。困りました。MSのページに仕様変更の旨が書かれていました。おいおい。。。変えるなよ。。。です。しかたがないのでヘルプで探しながら線と図形を透過色にする方法を調査しました。２行追加して修正できました。参考までコードを下記に示します。座標は適当です。 Sub a() Set sh = Sheets(&quot;Sheet1&quot;) …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemorandums.hatenablog.com%2Fentry%2F20071109%2Fp1&quot; title=&quot;Excel 2007　テキストボックスがマクロで記録されない - memorandums&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-11-09 00:00:01</published>
  <title>Excel 2007　テキストボックスがマクロで記録されない</title>
  <type>rich</type>
  <url>https://memorandums.hatenablog.com/entry/20071109/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
