<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mattintosh4</author_name>
  <author_url>https://blog.hatena.ne.jp/mattintosh4/</author_url>
  <blog_title>mattintosh note</blog_title>
  <blog_url>https://mattintosh-note.jp/</blog_url>
  <categories>
    <anon>Excel</anon>
    <anon>VBA</anon>
  </categories>
  <description>前に VBA で FileSystemObject を使った再帰的なファイル検索をした気がするけど、当時の記憶でネットワークドライブに対してファイル検索を行うコードを書いたら超絶遅い。マジで「こんなん使ってられませんわ！」レベル。 ふと、思い出して Dir 関数使ってみたらめちゃめちゃ早い。どれくらい早いかっていうと5分かかるものが10秒で終わるレベル。FileSystemObject は .SubFolders メソッドも .Files メソッドも遅い。 とりあえず Collection の先頭に起点となるフォルダを突っ込んで、そこから全サブフォルダを再起検索。それからサブフォルダをループで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmattintosh-note.jp%2Fentry%2F20150914%2F1442235675&quot; title=&quot;FileSystemObject さんが遅い - mattintosh note&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://m.media-amazon.com/images/I/71oVTHok+QL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-14 22:01:15</published>
  <title>FileSystemObject さんが遅い</title>
  <type>rich</type>
  <url>https://mattintosh-note.jp/entry/20150914/1442235675</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
