Results 1 to 1 of 1

Thread: Macro to copy data where name matches destination workbook

  1. #1
    Senior Member
    Join Date
    Apr 2012
    Posts
    193
    Rep Power
    13

    Macro to copy data where name matches destination workbook

    I need a macro to do the following

    1) To give option select a workbook workbook in directory c:\my documents
    2) To compare the name on the source workbook (Source Vat Report.sample1) in Cell B1 to the name in Col B of the destination workbook and if they match to copy-see sheet "Table"
    a) the value in Col B in line with V.A.T. On Sales to Col H on active sheet of the destination workbook
    b) the value in Col B in line with V.A.T. On Purchases to Col G on active sheet of the destination workbook
    c) the value in Col B in line with Sales To Internal to Col M on active sheet of the destination workbook


    Your assistance in this regard is most appreciated
    Attached Files Attached Files
    Last edited by Howardc; 04-20-2013 at 11:27 AM.

Similar Threads

  1. Replies: 2
    Last Post: 05-28-2013, 05:32 PM
  2. Macro to copy data in specific Columns
    By Howardc in forum Excel Help
    Replies: 0
    Last Post: 04-19-2013, 10:42 AM
  3. Replies: 2
    Last Post: 11-08-2012, 01:15 PM
  4. VBA Code to Open Workbook and copy data
    By Howardc in forum Excel Help
    Replies: 16
    Last Post: 08-15-2012, 06:58 PM
  5. VBA code to copy data from source workbook
    By Howardc in forum Excel Help
    Replies: 1
    Last Post: 07-30-2012, 09:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •