+ Reply to Thread
Results 1 to 5 of 5

Loop through all workbooks in a folder and read cell content in a spesific cell

  1. #1
    Forum Contributor
    Join Date
    11-02-2007
    Location
    Bryne, Norway
    MS-Off Ver
    Microsoft Office Excel 2010
    Posts
    230

    Loop through all workbooks in a folder and read cell content in a spesific cell

    Hello,

    I want to loop through all workbooks in a folder and read cell content in cell k6 in sheet1. Do any of you have some VBA code I can use?

    Regards,
    Magne
    Last edited by mkvassh; 05-14-2014 at 09:45 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Loop through all workbooks in a folder and read cell content in a spesific cell

    Once you have read the cell contents of K6 is Sheet 1 of each Workbook.. what do you want to do with that value..?

    Example.. should it be listed in COlumn A of the Workbook that is running the code?

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Loop through all workbooks in a folder and read cell content in a spesific cell

    Try
    Please Login or Register  to view this content.
    Last edited by jindon; 05-14-2014 at 05:34 AM.

  4. #4
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Loop through all workbooks in a folder and read cell content in a spesific cell

    or..

    Please Login or Register  to view this content.
    Last edited by apo; 05-14-2014 at 05:29 AM. Reason: Changed test code to K6..

  5. #5
    Forum Contributor
    Join Date
    11-02-2007
    Location
    Bryne, Norway
    MS-Off Ver
    Microsoft Office Excel 2010
    Posts
    230

    Re: Loop through all workbooks in a folder and read cell content in a spesific cell

    Thank you for your answers. I can use this

+ 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] Read through workbooks in a folder
    By Christoffer_A in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2014, 09:39 AM
  2. [SOLVED] read single cell content from sheet of closed file and put it in a cell on an active sheet
    By rsmith5413 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2014, 04:16 AM
  3. Macro to read cell content in any order
    By bb86993 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-14-2013, 06:03 PM
  4. read cell content and use with Hyperlinks.Add Cell
    By apoc [t.i.m.] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2007, 10:02 AM
  5. Please help a n00b, cell input dictating another cells content, read on!.......
    By baseballtheory in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-12-2005, 08:22 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