![]() |
Open File Dialog box looks like
I saw where a person was opening a file using excel. The regular open dialog
box that I am used to was not being used or if it was it looked very different. When they did open it looked more like windows explorer type window and still had their "My Places" listed on the left. How is that done? Thank you, Steven |
Open File Dialog box looks like
One way to achieve that will be with the following single VBA command:
SavePath = Application.FileDialog(msoFileDialogFolderPicker). Show Micky "Steven" wrote: I saw where a person was opening a file using excel. The regular open dialog box that I am used to was not being used or if it was it looked very different. When they did open it looked more like windows explorer type window and still had their "My Places" listed on the left. How is that done? Thank you, Steven |
Open File Dialog box looks like
You may also "Google" after: SHBrowseForFolder(bInfo)
Micky "מיכאל (מיקי) אבידן" wrote: One way to achieve that will be with the following single VBA command: SavePath = Application.FileDialog(msoFileDialogFolderPicker). Show Micky "Steven" wrote: I saw where a person was opening a file using excel. The regular open dialog box that I am used to was not being used or if it was it looked very different. When they did open it looked more like windows explorer type window and still had their "My Places" listed on the left. How is that done? Thank you, Steven |
Open File Dialog box looks like
SavePath = Application.FileDialog(msoFileDialogFolderPicker). Show That is not usually the best way to go. If the dialog is cancelled, nothing happens, but if the OK button is clicked, the result is -1 and the current drive and directory are modified. This modification could cause other pieces of code to fail. A better way is to use the API function to browse for the folder. See http://www.cpearson.com/Excel/BrowseFolder.aspx for code details and examples. Cordially, Chip Pearson Microsoft MVP 1998 - 2010 Pearson Software Consulting, LLC www.cpearson.com [email on web site] On Sat, 30 Jan 2010 03:58:01 -0800, ????? (????) ????? <micky-a*at*tapuz.co.il wrote: One way to achieve that will be with the following single VBA command: SavePath = Application.FileDialog(msoFileDialogFolderPicker). Show Micky "Steven" wrote: I saw where a person was opening a file using excel. The regular open dialog box that I am used to was not being used or if it was it looked very different. When they did open it looked more like windows explorer type window and still had their "My Places" listed on the left. How is that done? Thank you, Steven |
All times are GMT +1. The time now is 11:58 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com