When I execute this command, I get an error that says it can't find file. It hi-lites the "Name strFileName As "Credit.txt" line. What did I do wrong?
Private Sub Command1_Click()
Dim strFileName As String
strFileName = Dir$("C:\~Master Files\SSM\001 Crday_*.001"
If strFileName <> "" Then
Name strFileName As "Credit.txt"
End If
End Sub
Thanks, Rick Ruscin
Private Sub Command1_Click()
Dim strFileName As String
strFileName = Dir$("C:\~Master Files\SSM\001 Crday_*.001"
If strFileName <> "" Then
Name strFileName As "Credit.txt"
End If
End Sub
Thanks, Rick Ruscin