• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Displaying file name and its info from a cell

Harshinee

New Member
Dear All,
Nice meeting you all, i am quite new to VB.So hope you all give me some guidance to solve this problem.

Need help from u guys , ya .I have quite a number of files with file name in the format of yyyymmdd . So, I need to create a new file to display all the dates in the first column and find a particular cell's value (for eg Excess Fund =200,000 in U50) in each file and display them in second column (column name : Excess Fund) according to their file name. I have also uploaded 2 files for reference purpose but I have more files than that.How to code this?

Thank you
 

Attachments

  • 20131101.xls
    261.4 KB · Views: 7
  • 20131104.xls
    262.7 KB · Views: 4
Harshinee

Firstly, Welcome to the Chandoo.org Forums

Not really sure what your after but
=[20131101.xls]Report!$U$50 will retrieve the value for you

or you can use the file name as part of a formula like
=INDIRECT("["&A3&".xls]Report!"&B3)
where A3 has 20131101
and B3 has U50
 
Back
Top