J
JayM
I'm not very good with writing code from scratch
I have written the below code but can't get it to work - what am I doing
wrong or is it just not possible to do.
The .bat file just copies some folders from one place to another.
Any help would be appreciated
Here is the code:
Sub ClientFolder()
' NewClient Folder Creation
Dim MyFilePath
MyFilePath = InputBox("Please Type the Alphabetical Letter you wish to
create your New Client Folder in:")
If MyFilePath = "A" Then
dRetVal = Shell("w:\data\_clients\A\_New Client.bat", Mode)
ElseIf MyFilePath = "b" Then
dRetVal = Shell("w:\data\_clients\B\_New Client.bat", Mode)
End If
End Sub
I have written the below code but can't get it to work - what am I doing
wrong or is it just not possible to do.
The .bat file just copies some folders from one place to another.
Any help would be appreciated
Here is the code:
Sub ClientFolder()
' NewClient Folder Creation
Dim MyFilePath
MyFilePath = InputBox("Please Type the Alphabetical Letter you wish to
create your New Client Folder in:")
If MyFilePath = "A" Then
dRetVal = Shell("w:\data\_clients\A\_New Client.bat", Mode)
ElseIf MyFilePath = "b" Then
dRetVal = Shell("w:\data\_clients\B\_New Client.bat", Mode)
End If
End Sub