Results 1 to 5 of 5

Extracting File Path from Application.GetOpenFile

Threaded View

Retec123 Extracting File Path from... 08-25-2010, 12:54 PM
shg Re: Extracting File Path from... 08-25-2010, 01:23 PM
Retec123 Re: Extracting File Path from... 08-25-2010, 05:04 PM
Retec123 Re: Extracting File Path from... 08-25-2010, 06:16 PM
shg Re: Extracting File Path from... 08-25-2010, 06:28 PM
  1. #1
    Registered User
    Join Date
    08-25-2010
    Location
    Northants, England
    MS-Off Ver
    Excel 2007
    Posts
    4

    Extracting File Path from Application.GetOpenFile

    Hi all,

    I'm currently using the following code:-
    PathName = Application.GetOpenFilename("AutoCad (*.Dwg), *.dwg", , "Drawing Files", , True) 'get Drawing Files
    The variable PathName is a Variant as it can also be an array from selecting multiple file.

    What I am trying to do is extract the path to the file and store as a string

    I do not wish to invoke the GetOpenFilename again - Is there a simple way to do this?

    Thanks in advance

    Steve
    Last edited by Retec123; 08-25-2010 at 07:51 PM.

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