Dear Friends ...
Currently, I'm using Import through macro "transferdatabase" and giving the file name and location.
Is it possible to Import a excel spreadsheet through a user friendly file pick option ?
If possible, Any has a sample database for that ?
Below code did till picking the file .. but couldn't import it ...
Private Sub Command2_Click()
Dim dialog As FileDialog
Set dialog = Application.FileDialog(msoFileDialogFilePicker)
With dialog
.AllowMultiSelect = False
.Show
Me.Text0 = .SelectedItems.Item(1)
End With
End Sub
Please support.
Thanks
Alvis
Currently, I'm using Import through macro "transferdatabase" and giving the file name and location.
Is it possible to Import a excel spreadsheet through a user friendly file pick option ?
If possible, Any has a sample database for that ?
Below code did till picking the file .. but couldn't import it ...
Private Sub Command2_Click()
Dim dialog As FileDialog
Set dialog = Application.FileDialog(msoFileDialogFilePicker)
With dialog
.AllowMultiSelect = False
.Show
Me.Text0 = .SelectedItems.Item(1)
End With
End Sub
Please support.
Thanks
Alvis