Hi pals,
I would like to know how to display the FileName of the selected file and open it using FileDialog property. I have imported the necessary reference from the library - Microsoft Office Object Library 10.0. Tks
Control:
TextBox - Display FileName
Button - Open
Private Sub Command_Onclick() Dim fd as FileDialog Dim varSelected as Variant set fd = Application.FileDialog(msopen....) With fd .MultiSelect = true .Show if . show = -1 then for each varSelected .SelectedItem Next Else MsgBox "Cancel" End If End with End Sub