+ Reply to Thread
Results 1 to 4 of 4

VBA code to open folders and pdf file inside the folders

  1. #1
    Registered User
    Join Date
    06-25-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    17

    VBA code to open folders and pdf file inside the folders

    Hi,

    I have a list of ids in excel sheet like 1234, 4567, 7890.
    I have various folder created whose names ends with these ids ( ***_1234, ***_4567).
    Inside these folders i have pdf file ending with dates (*** 23 Apr 2013, *** 20 Jun 2013).

    I wanted a code which will match the ids in excel file and open the respective folders ending with those ids. After opening the folders it should open the latest PDF file using date.

    Thanks..

  2. #2
    Registered User
    Join Date
    06-25-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: VBA code to open folders and pdf file inside the folders

    Anyother way i can do this. The folder names are actually company name with their ids. PDF file name is also company name with Dates. I am ready to make necessary changes in the folder names if it is making it easier.

  3. #3
    Registered User
    Join Date
    07-08-2012
    Location
    Melbourne Australia
    MS-Off Ver
    Excel 2003
    Posts
    79

    Re: VBA code to open folders and pdf file inside the folders

    edit post removed

  4. #4
    Registered User
    Join Date
    06-25-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: VBA code to open folders and pdf file inside the folders

    Thanks, my main prob is opening only those folders whose names are listed in the excel.

+ 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. Replies: 0
    Last Post: 04-15-2013, 06:54 AM
  2. VBa code to open files from two different folders and work on them simultaneously
    By rumshar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2013, 09:41 AM
  3. Replies: 0
    Last Post: 12-04-2012, 01:01 PM
  4. VBA code for searching file through folders and sub folders
    By vikas189 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-05-2012, 06:00 PM
  5. open file by searching root and sub folders
    By slipperyjim in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-05-2009, 10:42 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