hi,..
I have a question about IF-ELSE
I want to see .tcl, htm, html, tar, txt file if Me.csvUpload doesn,t.
How can I start a code??
this is my code..
----------------------------
Private Sub Form_Load()
If Me.csvUpload Then
File1.Pattern = "*.csv" 'only *.csv
Me.Caption = "CSV File Upload"
Else
File1.Pattern = "*.tcl" 'only those files
'File1.Pattern = "*.txt" 'only those files
'File1.Pattern = "*.htm" 'only those files
End If
End Sub
---------------------
Thank you in advance
I have a question about IF-ELSE
I want to see .tcl, htm, html, tar, txt file if Me.csvUpload doesn,t.
How can I start a code??
this is my code..
----------------------------
Private Sub Form_Load()
If Me.csvUpload Then
File1.Pattern = "*.csv" 'only *.csv
Me.Caption = "CSV File Upload"
Else
File1.Pattern = "*.tcl" 'only those files
'File1.Pattern = "*.txt" 'only those files
'File1.Pattern = "*.htm" 'only those files
End If
End Sub
---------------------
Thank you in advance