Display an 'open file' dialog with the filter set for any kind of file. If MultiSelect=True then returns a string array containing the selected file paths otherwise returns a string containing the selected file path or an empty string if 'Cancel' was pressed or nothing was selected.
The caption to appear in the title bar at the top of the dialog window
The default path for the file browsing window
Allow selection of multiple files in a folder
Insist that the selected file must exist
Hide read-only files
Dim s As String
s = xf.Interact.OpenFileDialog_All("Select a File")
If s <> "" Then txtFilePath = s