Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub OpenMultipleFiles()
Dim Filt As String, Title As String, Msg As String
Dim i As Integer
Dim FileName As Variant
Filt = "Word Dcuments (*.doc),*.doc,"
Title = "Select File(s) to Import"
FileName = Excel.Application.GetOpenFileName(FileFilter:=Filt, _
Title:=Title, MultiSelect:=True)
If Not IsArray(FileName) Then
MsgBox "No file was selected."
Exit Sub
End If
For i = LBound(FileName) To UBound(FileName)
Documents.Open FileName(i)
Next i
End Sub