Crookshanks
Technical User
Hello and good afternoon,
To retrieve a file name of the users choice I would like to use the standard dialogboxes. I've tried i.e.:
Dim dlgOpen As FileDialog
Set dlgOpen = Application.FileDialog( _
FileDialogType:=msoFileDialogOpen)
With dlgOpen
.AllowMultiSelect = True
.Show
End With
But I get the error that the type (filedialog) unknown is. I guess I have to add another library? What library?
I am using Access 2003? Does anybody know how the use the common Dialogboxes.
Note: the commonDlg did not work eigther for me.
Thanks in advance and any help appreciated.
Kind regards,
To retrieve a file name of the users choice I would like to use the standard dialogboxes. I've tried i.e.:
Dim dlgOpen As FileDialog
Set dlgOpen = Application.FileDialog( _
FileDialogType:=msoFileDialogOpen)
With dlgOpen
.AllowMultiSelect = True
.Show
End With
But I get the error that the type (filedialog) unknown is. I guess I have to add another library? What library?
I am using Access 2003? Does anybody know how the use the common Dialogboxes.
Note: the commonDlg did not work eigther for me.
Thanks in advance and any help appreciated.
Kind regards,