Thread
: [Solved]
Opening a file with FileDialogFilePicker
View Single Post
08-07-2011, 08:27 AM
gmaxey
Windows XP
Office 2010 (Version 14.0)
Expert
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,635
Sub Macro1()
Dim fd As FileDialog
Set fd = Application.FileDialog(msoFileDialogFilePicker)
fd.Filters.Clear
fd.AllowMultiSelect = False
If fd.Show = True Then
Documents.Open FileName:=fd.SelectedItems(1)
End If
End Sub
__________________
Greg Maxey
Please visit my web site at
http://www.gregmaxey.com/
gmaxey
View Public Profile
Find all posts by gmaxey