+ Reply to Thread
Results 1 to 3 of 3

Duplication data every time macro is run, instead of updating newly found data only

  1. #1
    Registered User
    Join Date
    02-25-2010
    Location
    Malta
    MS-Off Ver
    Excel 2007
    Posts
    7

    Duplication data every time macro is run, instead of updating newly found data only

    Hi,

    I had posted my problem before and thought it was solved after receiving great help.

    (http://www.excelforum.com/excel-prog...ml#post2266996)

    However, I just found out that there is a slight problem with the code I had received (for my purpose). It keeps duplicating the data every time the macro is run, while I need it to just update the new data, found in the worksheet I work on daily, in the specified new worksheet.

    Any help on solving this would be very much appreciated. Cheers.

    Here's the code and I have also included the sample excel file:

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Lostinxcel; 03-10-2010 at 03:43 AM.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Duplication data every time macro is run, instead of updating newly found data on

    Hi Lostinxcel

    Try this
    Please Login or Register  to view this content.
    The code places a marker in Receipts PYMT 2010 when an Item is used so it doesn't get used again.

    Hope this helps.

    John
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    02-25-2010
    Location
    Malta
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Duplication data every time macro is run, instead of updating newly found data on

    Thank you very much John, highly appreciated.

    That solved my problem.

    Cheers,

    Erik

+ 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