<?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 なぜなら、「全てのファイル数」が数万にも及んでいたから。 １対数万では、効率が悪すぎる。そこで作戦を変えることにした。 作戦は、こうだ。 正規表現を用い、ファイル名から保存パスを取得する。 正規表現を用い、指定名を含むファイルの末尾にある英字を取得し、「文字コード」に変換してコレクションに格納する。 コレクションを配列に変換したうえで、その最大値を取得する（Max関数）。 最大値を文字に戻して、ファイル名（来歴なし）の末尾に付し戻り値とする。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2018%2F10%2F24%2F222407&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/20181024/20181024213127.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-24 22:24:07</published>
  <title>指定パス下にある指定ファイルの最新版を取得</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2018/10/24/222407</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
