+ Reply to Thread
Results 1 to 3 of 3

Macro to update database without overwriting existing data

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    SG
    MS-Off Ver
    Excel 2007
    Posts
    37

    Macro to update database without overwriting existing data

    I need a macro for updating database that works like this:

    Sheet 1:
    Criteria cell = A2 (name of candidates and it varies all the time)
    New Data cell = B2, C2, D2 ...


    -Find match cell to Sheet 1 A2 in Sheet 2 Column A
    -Go to the adjacent cell of matching cell of Sheet 2 and paste the New Data in across columns B, C, D ...
    (only when adjacent cells are empty)
    (If adjacent cells are not empty, paste this new data into the cells that are 1 row below adjacent cell)

    Thanks for any help given

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Macro to update database without overwriting existing data

    Hi

    Upload sample file with explanation...
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Registered User
    Join Date
    06-07-2012
    Location
    SG
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Macro to update database without overwriting existing data

    Hope this clarfies. (explanation is in the file)
    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)

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