Professional Documents
Culture Documents
frmForm.Show
End Sub
Dim i As Long
Selected_List = 0
For i = 0 To frmForm.lstDatabase.ListCount - 1
Selected_List = i + 1
Exit For
End If
Next i
End Function
_________________
Dim Z As Long
Application.EnableEvents = False
For Z = 1 To Target.Count
Call MakeFolders
End If
Next
Application.EnableEvents = True
End Sub
_______________________________
Dim Newfolder As String, path As String
Dim startPath As String
Dim myName As String
startPath = "C:\Users\earld\Desktop\Therapy\Record\"
myName = ActiveSheet.Range("A1").Text
If myName = vbNullString Then myName = Sheet1.txtName.Text
_____________________________________________
Dim startPath As String
Dim myName1 As String
startPath = "C:\Users\earld\Desktop\Therapy\Record\"
myName1 = ActiveSheet.Range("A1").Text