Caf, I think you need to pipe that filter statement. I could be wrong, but I don't think you'll see any files!
ri, here's some code to play with - start a new project, and drop a CommonDialog onto a form. Also, when it splits the file names, the first array value is the path followed by each selection.
Option Explicit
Private Sub Form_Load()
Dim strFileNames() As String, intX As Integer, FileOpened As Boolean
With CommonDialog1
.Flags = cdlOFNAllowMultiselect
.Filter = "All Files (*.*)|*.*"
.ShowOpen
End With
strFileNames = Split(CommonDialog1.FileName)
For intX = 1 To UBound(strFileNames)
MsgBox strFileNames(0) & strFileNames(intX)
FileOpened = MyOpenFileRoutine(strFileNames(0) & strFileNames(intX))
If Not FileOpened Then MsgBox strFileNames(intX) & " failed to open!"
Next
End Sub
Function MyOpenFileRoutine(strFileName As String) As Boolean
MyOpenFileRoutine = False
'...
'Place your open routine here
'
' If <<all went well>> Then
MyOpenFileRoutine = True
' end if
End Function
HTH,
CB