トップ 差分 一覧 ping ソース 検索 ヘルプ PDF RSS ログイン

Excel VBA ディレクトリのファイルを繰り返し処理



目次



記事一覧

キーワード

Excel VBA ディレクトリのファイルを繰り返し処理

[Excel VBA][VBAソース片]

Dim d  As String
Dim f  As String

d = "c:\"
f = d & "*"

f = Dir$(f, vbNormal)
Do While (Trim$(f) <> "")
    Debug.Print f
    f = Dir$
Loop



YAGI Hiroto (piroto@a-net.email.ne.jp)
twitter http://twitter.com/pppiroto

Copyright© 矢木 浩人 All Rights Reserved.