+ Reply to Thread
Results 1 to 3 of 3

File open dialog box default to specified sub folder (on a network)

  1. #1
    Valued Forum Contributor
    Join Date
    06-02-2012
    Location
    London, England
    MS-Off Ver
    365
    Posts
    397

    File open dialog box default to specified sub folder (on a network)

    I'm attempting to write some code that will prompt the user to open a workbook from a sub folder via a file open dialog box.
    Problem one is the file is burried away under several layers of sub folders so I'd like the dialog box to default to the sub sub folder level.
    Problem two is these folders are on a networkdrive "\\NetWorkName\Folder\SubFolder\SubSubFolder\".

    Would anyone have some ready made code to help me with this?

    Thanks in advance for any help.

    B

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,958

    Re: File open dialog box default to specified sub folder (on a network)

    Are you asking for a type of "crawler" that will find the file given its name and a root directory, or do you already know the path on which the file resides? Are you looking for a navigation box like Windows Explorer uses?
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,485

    Re: File open dialog box default to specified sub folder (on a network)

    Found this : http://stackoverflow.com/questions/1...path-not-drive

    Please Login or Register  to view this content.

+ 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] GetFile - Set default folder using network path
    By Pergo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-26-2015, 11:19 AM
  2. [SOLVED] Save As Dialog Box - Default Path and File Name, User Selects Sub Folder from Default Path
    By christenprochaska in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2012, 05:17 PM
  3. How to get the open file dialog to open to a certain folder
    By tenk283 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-01-2010, 11:54 PM
  4. Selecting Default Folder in Open File Dialogue Box Problem
    By PaulC in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-08-2010, 04:25 PM
  5. Open file/folder dialog box
    By Jumpy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2007, 09:23 AM
  6. File Open Dialog Box Open at Set Folder
    By Soltisolti in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-10-2007, 10:05 PM
  7. Can not change default folder to network resource
    By side_ in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-11-2006, 10:09 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