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 · 最終更新: 2025/03/02 09:27 by shimehitsu14