iEhohs DokuWiki

プログラミングや設定方法など、個人的なナレッジを残しておくWikiです。

ユーザ用ツール

サイト用ツール


excel:vba-mkdir

フォルダが存在しなければ作成するVBA

Dim folderPath As String
folderPath = ThisWorkbook.Path & "/hoge"
If Dir(filePath, vbDirectry) = "" Then
    MkDir folderPath
End If
スポンサーリンク
excel/vba-mkdir.txt · 最終更新: 2024/07/26 14:55 by shimehitsu14