+ Reply to Thread
Results 1 to 3 of 3

Get name of the only file in a folder

  1. #1
    Forum Contributor
    Join Date
    07-07-2005
    Location
    England
    MS-Off Ver
    Office 2019 Enterprise
    Posts
    473

    Get name of the only file in a folder

    Hi, I have a folder that will always only have one file in it.

    The filename varies so I would like the simplest way to obtain that filename.

    I've searched the forums and they all seem to point to looping all files in a folder but hopefully that isn't necessary in this case.

    Can anyone help please?

    Thanks
    John

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Get name of the only file in a folder

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Forum Contributor
    Join Date
    07-07-2005
    Location
    England
    MS-Off Ver
    Office 2019 Enterprise
    Posts
    473

    Re: Get name of the only file in a folder

    spot on! just as small and neat as I was hoping for..

    Thanks very much
    John

+ 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