<?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>
  </categories>
  <description>先日は、指定セルの中に良い感じで線矢印を作成することに挑戦した。 infoment.hatenablog.comところで、この機能を用いて連続的に矢印を作成したところ、困ったことになった。線矢印の描画対象セル。 ご覧のとおり、B2とC2が結合されている。この状態で、↓ のマクロを実行すると、このようになる。 Sub test_1() Dim r As Range For Each r In Range(&quot;B2:G2&quot;) SetArrow r Next End Sub 【結 果】 B2～C2で１本の線矢印としたいのに、２本作成されている。 【予 定】 そこで今回は、この解決に挑戦する。 【今回の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2019%2F07%2F15%2F073713&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/20190715/20190715071907.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-15 07:37:13</published>
  <title>セルが結合されている場合は、結合範囲で処理</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2019/07/15/073713</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
