+ Reply to Thread
Results 1 to 4 of 4

copy data from one sheet to another

  1. #1
    Registered User
    Join Date
    09-15-2014
    Location
    michigan
    MS-Off Ver
    2003
    Posts
    94

    Question copy data from one sheet to another

    I have 2 workbooks I cant give example of WB1 at this time
    workbook 1 is a collection of data for the entire day
    workbook 2 (WB2.xls) is a list of updates for that day
    so I want to search WB1 "sheet1" column G for the number located in column C of WB2 if the number is found I want it to add to WB1,"sheet1" column K if its waiting on 1,2,3, or update depending on what section the update is in. then I want it to add the text from comments (column E) to column K as well
    so when tha macro is ran it will look at the number in column C on the example find it in column G of the other workbook then add waiting on 1 and the contents of the comments section but it cant replace the data that's already in column k it need to append to it
    can this be done?

    WB2.xls
    windows 7 x64 excell 2003 still learning vbs

  2. #2
    Registered User
    Join Date
    09-15-2014
    Location
    michigan
    MS-Off Ver
    2003
    Posts
    94

    Re: copy data from one sheet to another

    Quote Originally Posted by MATT.B View Post
    I have 2 workbooks I cant give example of WB1 at this time
    workbook 1 is a collection of data for the entire day
    workbook 2 (Attachment 442993) is a list of updates for that day
    so I want to search WB1 "sheet1" column G for the number located in column C of WB2 if the number is found I want it to add to WB1,"sheet1" column K if its waiting on 1,2,3, or update depending on what section the update is in. then I want it to add the text from comments (column E) to column K as well
    so when tha macro is ran it will look at the number in column C on the example find it in column G of the other workbook then add waiting on 1 and the contents of the comments section but it cant replace the data that's already in column k it need to append to it
    can this be done?

    Attachment 442993
    WB1 "BACK LOG" not "sheet 1
    and here is an example WB1.xls

  3. #3
    Registered User
    Join Date
    09-15-2014
    Location
    michigan
    MS-Off Ver
    2003
    Posts
    94

    Re: copy data from one sheet to another

    so far I have this

    Please Login or Register  to view this content.

    where I'm having troubles is how to go from C4 to C5 to C6-C16 there are more but its in different locations on the same sheet I can just modify the code to work for each section

    and how to lookup varC coordinates in wb1.xls and how to use that in place of what I have

  4. #4
    Registered User
    Join Date
    09-15-2014
    Location
    michigan
    MS-Off Ver
    2003
    Posts
    94

    Re: copy data from one sheet to another

    Solved
    will post solution later

+ 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: 2
    Last Post: 01-23-2016, 01:16 PM
  2. Replies: 1
    Last Post: 06-05-2013, 07:03 AM
  3. Replies: 0
    Last Post: 05-21-2013, 03:09 PM
  4. Copy Data from a fixed form of data sheet into a master excel sheet.....
    By sirimhk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2012, 08:48 AM
  5. [SOLVED] Copy and paste data from sheet 2 to sheet 1 based on specific criteria on sheet 1
    By VBADUD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 04:18 AM
  6. Copy Data from Multiple weekly Sheet to Monthly sheet and filter the data
    By santhoshjoseph in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-06-2012, 07:07 AM
  7. [SOLVED] Macro to Copy Data from one Sheet A to Sheet B based on value in cell on sheet A
    By scass in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2012, 07:21 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