View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Leith Ross[_450_] Leith Ross[_450_] is offline
external usenet poster
 
Posts: 1
Default how to create a new folder through a macro ??


Hello Furbiuzzu,

Dim FolderName As String
Dim FolderPath As String

FolderPath = "C:\Download Files\"
FolderName = "file" & Format(Now(), "dd.mm.yy")

MkDir FolderPath & FolderName

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=497179