+ Reply to Thread
Results 1 to 2 of 2

Modify code to select a file instead of folder

  1. #1
    Registered User
    Join Date
    12-19-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    53

    Modify code to select a file instead of folder

    Heelloo Frnds,

    I have a code that gives me path of all files inside a folder. I want to modify it.

    I want to select files (individually or in group) inside a folder and then get the path. All files are .xlsx in folder.

    Please help.

    Please Login or Register  to view this content.
    Thanks,
    Liz

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Modify code to select a file instead of folder

    This tiny sub will allow you to pick a file and display the containing folder:

    Please Login or Register  to view this content.
    Gary's Student

+ 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] Modify existing code to select file instead of select folder
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-04-2014, 09:41 AM
  2. [SOLVED] Modify this code to select different column
    By Rerock in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-17-2012, 11:52 AM
  3. let user select input file, modify, save
    By alanders in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2010, 06:37 PM
  4. modify this code to delete a cell in all the given workbooks in a folder.
    By mrgillus in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-02-2009, 04:20 PM
  5. [SOLVED] Need code to save file to new folder, erase from old folder
    By Ron M. in forum Excel General
    Replies: 1
    Last Post: 02-24-2006, 02:10 PM

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