Tuesday, 2 October 2012

How To Create a Directory or Folder with Excel VBA Macro

Excel VBA Macro To  Make a Directory or Folder
Sub MakeDir()
Dim P As String
P = "C:\Documents and Settings\Administrator\My Documents"
'You Can Specify Your Desired Path Where to Create a Directory or Folder
MkDir P & "\" & "MyFolder"
End Sub

1 comment:

  1. Hey There. I found your weblog the use of msn. This is a very well written article.
    I'll make sure to bookmark it and return to learn more of your useful info.

    Thanks for the post. I'll definitely comeback.


Hi User, Thank You for visiting My Blog. Please post your open Feedback only related to this Blog Posts. Please note that I cannot respond to the Anonymous Comments.

Subscribe to Blog Posts by Email

ExcelKingdom-Popular Posts