<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kuku81kuku81</author_name>
  <author_url>https://blog.hatena.ne.jp/kuku81kuku81/</author_url>
  <blog_title>Django Girls and Boys 備忘録</blog_title>
  <blog_url>https://kuku81kuku81.hatenablog.com/</blog_url>
  <categories>
    <anon>Excel</anon>
    <anon>VBA</anon>
  </categories>
  <description>ExcelのVBAを使用してフォルダ内のファイル名などを取得する方法なのですが、たまにしか使わないのでやろうとするたびに使い方を忘れているので、備忘録として残しておきます。 Dir()を使用したフォルダのファイル名を取得する方法は以下のようになります。 目次 １．Dir()を使用したファイル名取得方法 ２．使用例１ ３．使用例２ １．Dir()を使用したファイル名取得方法 Dir()は、フォルダのファイル一覧を取得する時やファイルの有無確認をするような時に使用します。 使い方は以下のようになります。 Dir[(pathname[, attributes])] この中で、 pathnameは確認…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkuku81kuku81.hatenablog.com%2Fentry%2F2022%2F11%2F17_excel_vba_how_to_use_Dir%2528%2529&quot; title=&quot;【Excel VBA】ファイル一覧やファイル有無確認に使われるDir()の使用方法 - Django Girls and Boys 備忘録&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/k/kuku81kuku81/20220605/20220605115219.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-11-17 19:00:00</published>
  <title>【Excel VBA】ファイル一覧やファイル有無確認に使われるDir()の使用方法</title>
  <type>rich</type>
  <url>https://kuku81kuku81.hatenablog.com/entry/2022/11/17_excel_vba_how_to_use_Dir%28%29</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
