Hi
I need to be able to display a msgbox asking the user to select files from a FileListBox when no files havent been selected, the code i have done looks fine to me but it bypasses it. Can anyone tell me why?
FileSelect = File1.FileName
If FileSelect = "" Then
MsgBox "Please select file(s) you wish to delete?",vbOKOnly, "File Deletion"
Exit Sub
End If
TIA
I need to be able to display a msgbox asking the user to select files from a FileListBox when no files havent been selected, the code i have done looks fine to me but it bypasses it. Can anyone tell me why?
FileSelect = File1.FileName
If FileSelect = "" Then
MsgBox "Please select file(s) you wish to delete?",vbOKOnly, "File Deletion"
Exit Sub
End If
TIA