+ Reply to Thread
Results 1 to 2 of 2

Check if any cell in range contains value and copy that value to another workbook

  1. #1
    Registered User
    Join Date
    05-20-2014
    Posts
    11

    Check if any cell in range contains value and copy that value to another workbook

    I have 400 source files containing (among others) 8 sheets with daily results: "Fri 23", "Mon 26", "Tue 27", "Wed 28", "Thu 29", "Fri 30", "Sat 31 (if applicable)", "Mon 2".

    Each sheet contains also:
    State - D1
    Role - D2
    Staff ID - D3
    Date - D4

    Activity group name in column A (starting from row 8)
    Activity type in column B (merged with C and D) (starting from row 8)
    Activity time in columns E:GV (starting from row 8). Usually, there is none or only one value in whole range (e.g. E8:GV8). But sometimes there are two values.

    Customer ID in row 6 (value appears only if time was reported in E:GV range)
    CC Number in row 7 (value appears only if time was reported in E:GV range)

    It's all about transferring values from all daily sheets in all files (.xls) sitting in folder C:\WAD\Final to one simple table (WAD_Consolidation_file.xls, sheet "Consolidated") consisted of 9 columns: Staff ID, Role, State, Date, Activity Group, Activity Type, Minutes, Customer ID, CC Number.

    Thanks for any hints...

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Check if any cell in range contains value and copy that value to another workbook

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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] Search cell value in another workbook and copy range from current to other workbook
    By SierraKilo78 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-08-2014, 05:20 PM
  2. Check cell Value in range and copy specific cells to another sheet
    By jmethejedi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-08-2013, 06:25 PM
  3. Macro, copy UNLOCKED cell range of sheet in open workbook to workbook template
    By NicksDad in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-31-2012, 11:18 AM
  4. Check Box Macro to Copy a Range of Cell
    By macro_beta in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-26-2011, 12:21 PM
  5. Macro to check range, if false check another range until true, then copy
    By jayers in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-12-2009, 04:19 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