How can i make this code save new folder to "\\fileserver\Users\Public\Documents\Main Customer\New Folder Name"
and create 3 subfolders "Images","Work Orders","Lead Info"
the current code creates filepath,names workbook,saves workbook all onto users desk top
Any help would be greatly appreciated!!
and create 3 subfolders "Images","Work Orders","Lead Info"
Code:
Public Sub SaveOnDesktop()Dim strPath As String, strFile As String
'Build Path
strPath = Environ$("HOMEPATH") & Application.PathSeparator & "Desktop" & _
Application.PathSeparator & Range("A1").Value
'Make Folder
MkDir strPath
'Build File Name
strFile = strPath & Application.PathSeparator & Range("A1").Value
'Save Activeworkbook
ActiveWorkbook.SaveAs strFile, 52 '51 is for default
End Sub
Any help would be greatly appreciated!!