Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-07-2011, 08:27 AM
gmaxey gmaxey is offline Opening a file with FileDialogFilePicker Windows XP Opening a file with FileDialogFilePicker Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,635
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

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/
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening a file with FileDialogFilePicker Issue when opening word file msadiqrajani Word 2 05-27-2011 08:11 PM
Opening a file with FileDialogFilePicker MS Word - There was an error opening the file cookiegal Word 7 04-04-2011 12:37 AM
Opening zip file attachments in MS Outlook shankar Outlook 0 12-07-2010 09:15 PM
problem opening ms word 2007 file shanchita rahman Word 0 11-17-2010 08:43 AM
Opening MSO-2000 file in MSO-2003 w77 Word 0 04-21-2009 03:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:16 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft