+ Reply to Thread
Results 1 to 5 of 5

Extracting File Path from Application.GetOpenFile

Hybrid View

  1. #1
    Registered User
    Join Date
    08-25-2010
    Location
    Northants, England
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Extracting File Path from Application.GetOpenFile

    Self answered as follows.......


    GOFPathName = Application.GetOpenFilename("AutoCad (*.dwg), *.dwg", , "Drawing File", , True) 
    JustThePathName = Left(GOFPathName(1), InStrRev(GOFPathName(1), "\") ) 
    Many Thanks
    Last edited by Retec123; 08-25-2010 at 07:53 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Extracting File Path from Application.GetOpenFile

    Glad you got it sorted.

    Would you please take a few minutes to read the forum rules, and then edit your post to add CODE tags?

    Thanks.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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