+ Reply to Thread
Results 1 to 1 of 1

Macro to copy cells from all worksheets found in all closed workbook in a network folder

  1. #1
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Ottawa, Ontario
    MS-Off Ver
    Excel 2013
    Posts
    104

    Macro to copy cells from all worksheets found in all closed workbook in a network folder

    Hello,

    I have a monthly report that I have to generate that is quite time consuming so I am looking to speed up the process with a macro and would need help.

    I am looking for a macro that does the following in a network folder containing closed macro workbooks (.xlsm):

    Cycle through all the worksheets found in all the closed workbooks found in the network folder and report the following in the active workbook:
    -Indicate the name of the workbook in column A starting at A2
    -Indicate the name of the worksheet in starting B at column B2
    -Copy cells B30, B43, B60, B64 from each individuals worksheets in the closed workbooks found and pasted the content of those cells horizontally into the active workbook in cells starting at C2, D2, E2, F2.

    I have also attached an example workbook so you can see what I am looking for.

    I do have several macros that does each part of the macro but I am unable to combine them together in a simpler version. I am including below code that I used in another project that could be a starting point specifically in copying the cells but it was coded to copy only once the data and from a specified workbook and no cycle through all workbooks. Maybe it is better also to start fresh, I will let you decide. Thanks in advance for your time in helping me out.

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Macro to open a closed workbook and select copy cells into an open workbook
    By helloganesh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2013, 02:00 PM
  2. [SOLVED] Macro to loop in folder and then open the workbook with found value
    By Jey Robbins in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-02-2012, 12:10 PM
  3. copy all worksheets in a folder to a workbook
    By prajesh in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 12-21-2011, 05:32 AM
  4. Getting a userform to populate cells and a copy to autosave to a network folder.
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-09-2011, 09:37 AM
  5. MACRO that can copy files from a network folder
    By Traymond in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-07-2011, 07:53 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