Questions about Application.FileDialog

SeaLyon

New Member
Joined
Sep 15, 2011
Messages
28
I need the user to select a destination folder and was thinking about using Application.FileDialog(msoFileDialogFolderPicker). This appears to work, but the buttons along the left & top of the displayed dialog are not active. Is there a way to enable these buttons? If not, what other dialog display options are available from VBA that would allow me to display & use a fully functional select folder dialog?

Here's the basic code I'm using:

Code:
  With Application.FileDialog(msoFileDialogFolderPicker)
    .Title = "Select Destination Folder for Recipe Export File"
    .ButtonName = "Select Folder"
    If .Show = True Then
      iResp = MsgBox(.SelectedItems(1), vbOKOnly)
    End If
  End With
Here's the displayed dialog:

FileDialogScreen.jpg


Any help is appreciated.

Thanks,
Chris
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
This appears to be an issue with the combination of XP (SP3) & Excel 2010. As I originally stated, the dialog buttons are NOT active when I run this under Excel 2010 on XP. However, if I run this using Excel 2003 on XP, the dialog buttons work correctly. Does anyone know if there are known issues with Excel 2010 on XP? I've been running the XP/Excel2010 combination for a while and this is the first problem I've seen.
 
Upvote 0
This appears to be an issue with the combination of XP (SP3) & Excel 2010. As I originally stated, the dialog buttons are NOT active when I run this under Excel 2010 on XP. However, if I run this using Excel 2003 on XP, the dialog buttons work correctly. Does anyone know if there are known issues with Excel 2010 on XP? I've been running the XP/Excel2010 combination for a while and this is the first problem I've seen.

FYI This worked with XP and Excel 07
 
Upvote 0

Forum statistics

Threads
1,214,805
Messages
6,121,665
Members
449,045
Latest member
Marcus05

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top