K
Ken Eisman
Using Access 2003.
I need to open a file dialog box to get the path to a picture.
I cut and pasted the example from the online help:
*****************************************
Dim dlgOpen As FileDialog
Set dlgOpen = Application.FileDialog( _
FileDialogType:=msoFileDialogOpen)
With dlgOpen
.AllowMultiSelect = True
.Show
End With
****************************************
Changed msoFileDialogOpen to msoFileDialogFilePicker.
But VBA yells at me that FileDialog in not a good variable type.
Does anyone know what I'm doing wrong?
TIA
Ken
I need to open a file dialog box to get the path to a picture.
I cut and pasted the example from the online help:
*****************************************
Dim dlgOpen As FileDialog
Set dlgOpen = Application.FileDialog( _
FileDialogType:=msoFileDialogOpen)
With dlgOpen
.AllowMultiSelect = True
.Show
End With
****************************************
Changed msoFileDialogOpen to msoFileDialogFilePicker.
But VBA yells at me that FileDialog in not a good variable type.
Does anyone know what I'm doing wrong?
TIA
Ken