-
Topic
-
Hello,
I use the following code for selecting an attachment to a message. How can I select more than one file with the open file dialog?
Sub Main(Client, GWEvent)
dim ObjFSO
dim bijlageset ObjFSO = Utilities.NewOpenFileDialog
ObjFSO.Filter = “Word Documenten|*.doc|Excel sheets|*.xls|PDF bestanden|*.pdf|All Files|*.*”
ObjFSO.InitialDir = “c:”
ObjFSO.Title = “Select your attachment”
InitFSO = ObjFSO.Execute
If InitFSO = False Then
bijlage = “”
Else
bijlage = ObjFSO.FileName
End Ifmsgbox “You selected the file: ” & bijlage
End Sub
Kind regards,
Roland Leurs
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.