DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

MultiSelection in OpenFile Dialog

Hello,
 
Is it possible to do a multiselection in the OpenFile dialog ?
And how ?
 
Thank you
 
Fred
0 Kudos
Message 1 of 2
(3,318 Views)
Hello Fred!
 
Try this code:
Option Explicit
 
Dim sgFileName
 
If (FileNameGet( "ANY", "FileRead", DataReadPath, "TDM data (*.tdm),*.tdm", "FileNameGet.lst", True, "Data selection") = "IDOk") Then
  For Each sgFileName In Split(FileDlgFileName,"|")
    MsgBox sgFilename
  Next
End If
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 2
(3,306 Views)