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.
With objMyExcel.Application
.GetOpenFilename ([FileFilter], [FilterIndex], [Title], [ButtonText], [MultiSelect])
.GetSaveAsFilename ([InitialFilename], [FileFilter], [FilterIndex], [Title], [ButtonText])
'GetOpenFilename([FileFilter], [FilterIndex], [Title], [ButtonText], [MultiSelect])
'GetSaveAsFilename([InitialFilename], [FileFilter], [FilterIndex], [Title], [ButtonText])
Sub ExcelFileDialogs(Optional ShowOpen As Boolean)
Dim FileName As Variant
With CreateObject("Excel.Application")
If ShowOpen Then
FileName = .GetOpenFilename
If VarType(FileName) = vbBoolean Then
MsgBox "User Cancelled"
Else
MsgBox FileName 'File/Path user selected
End If
Else
FileName = .GetSaveAsFilename
If VarType(FileName) = vbBoolean Then
MsgBox "User Cancelled"
Else
MsgBox FileName 'File/Path as user saved it
End If
End If
End With
End Sub