+ Reply to Thread
Results 1 to 4 of 4

Want to automate the msofiledialogfolderpicker

  1. #1
    Registered User
    Join Date
    05-20-2010
    Location
    rotherham
    MS-Off Ver
    Excel 2010
    Posts
    16

    Want to automate the msofiledialogfolderpicker

    Hi I love this code but there are times when i don't want the user to actually pick a folder. At the moment when running the code you are prompted to "select a folder to list files from" I want to hard code in the folder name so at the click of a button it will show all the current files in C drive. Can anyone help please. I have tried different codes but this is the most user friendly as it shows the files names very quickly. I hope this makes sense

    Regards
    Christine
    Please Login or Register  to view this content.
    Last edited by jacc14; 12-07-2017 at 08:51 AM.

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Want to automate the msofiledialogfolderpicker

    is this what you want?
    Please Login or Register  to view this content.
    Welcome to the forum
    Please use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the [#] button at the top of the post window (if you are editing an existing post, press Go Advanced to see the [#] button).
    [ code ]
    your code here ...
    and here ...
    and here
    [ /code ]
    Please amend your first post
    thanks
    Last edited by kev_; 12-07-2017 at 08:30 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    05-20-2010
    Location
    rotherham
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Want to automate the msofiledialogfolderpicker

    This is spot on . Thank you so much for your help

    Kindest regards
    Christine

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Want to automate the msofiledialogfolderpicker

    Thanks for rep
    Please click ThreadTools at top of thread and mark thread SOLVED
    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Application.FileDialog(msoFileDialogFolderPicker) looping?
    By Andrew Entee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-10-2017, 05:57 PM
  2. Replies: 8
    Last Post: 11-01-2016, 06:23 PM
  3. [SOLVED] end if cancel clicked on .FileDialog(msoFileDialogFolderPicker).Show
    By dedark05 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-21-2016, 09:35 PM
  4. Show Files in Folder using Application.FileDialog(msoFileDialogFolderPicker)
    By rtcwlomax in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-05-2015, 09:53 AM
  5. VBA msoFileDialogFolderPicker in Windows 7
    By jruixls in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-15-2011, 08:19 AM
  6. Unloading Directory Path using msoFileDialogFolderPicker
    By lilanngel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-07-2010, 04:03 PM
  7. [SOLVED] FileDialog(msoFileDialogFolderPicker) not using the current direct
    By nx3 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2006, 08:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1