<?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>文字を置換したい。シート上であれば、これで片が付く。 だが今回は配列内の文字に対し、複数条件で置換したい。挑戦してみた。 折角なので、先日来作成しているArrayEditClassの機能拡張で対応してみた。 作戦は、こうだ。 ParamArrayキーワードで、置換前後の文字列を受け取る。 受け取った文字で、配列内を置換（ローラー作戦）。 ということで、手法はとっても原始的。 しばらく捏ね繰り回してみて、できた結果がコチラ。 ' 配列内の文字列置き換え。 ' 置換前と置換後の文字を列記して、ParamArrayキーワードで配列として受け取る。 ' ０，２，４，６・・・番目が置換前 ' １，３，５…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2019%2F09%2F26%2F233044&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/20190926/20190926231020.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-09-26 23:30:44</published>
  <title>配列内の文字を複数条件で置換</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2019/09/26/233044</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
