<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>vbdotnetmemo</author_name>
  <author_url>https://blog.hatena.ne.jp/vbdotnetmemo/</author_url>
  <blog_title>いろいろだなぁ</blog_title>
  <blog_url>https://vbdotnetmemo.hatenadiary.org/</blog_url>
  <categories>
    <anon>vba</anon>
  </categories>
  <description>古いデータが入っているエクセルブックを改修する作業をしていた。現在のシステムでも動作させるには、データを変更しなければならない箇所が沢山ある。 普通は「検索と置換」ダイアログで行う。ただ、置換したいデータが複数ある場合、何度も処理するのは大変だ。なのでマクロってみた。 「文字列置換」シートのA列に置換したい文字列、B列に置換後の文字列を入れる。 Dim Sheet As Worksheet Dim r As Range Dim terStr, afterStr As String Dim maxCol, maxRow, i, n As Integer Set r = Sheets(&quot;文字列置換…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fvbdotnetmemo.hatenadiary.org%2Fentry%2F20100324%2F1269417711&quot; title=&quot;文字列の置換 - いろいろだなぁ&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>2010-03-24 17:01:51</published>
  <title>文字列の置換</title>
  <type>rich</type>
  <url>https://vbdotnetmemo.hatenadiary.org/entry/20100324/1269417711</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
