<?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>昨日は、選択範囲が飛び飛びでも、ランダムに文字を移動できるようにしてみた。 infoment.hatenablog.com これを応用して、今日は「二つのセルにある文字の入れ替え」に挑戦する。二つのセルの文字を手作業で入れ替えるのは、意外と面倒くさい。 そこで、選択したセルの文字同士を入れ替える仕掛けを設けてみる。 一瞬で終わると、入れ替わったかどうか良く判らないので、昨日までの仕掛けで直感的に確認できるようにした。 クラスモジュール（TextboxClass） Public Sub ExchangeString() If TargetRange.Count &lt;&gt; 2 Then MsgBox …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2018%2F12%2F13%2F063000&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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-13 06:30:00</published>
  <title>二つのセルにある文字を入れ替える</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2018/12/13/063000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
