+ Reply to Thread
Results 1 to 4 of 4

if product exists then copy to that row

  1. #1
    Registered User
    Join Date
    05-09-2009
    Location
    Manchester,England
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    58

    Thumbs up if product exists then copy to that row

    Hi,

    I have posted this to another forum but have not received a reply so

    The workbook I have created will allow user to set up records for customer
    pricing.
    The code below is the module that will check if the file already exists and
    if so it will add the new record to that file and If it does not exist it
    will go to a nother module to create a new workbook.

    Please Login or Register  to view this content.

    The problem I am having is that if the product already eixts for that
    customer I want it to overwrite that row with the new data. I have tried the
    code below but, yes you have guessed it doesn't work. Just copies to the last row,same as before.

    Any ideas

    Please Login or Register  to view this content.
    Last edited by Wagstaff; 05-10-2009 at 12:48 PM. Reason: To indicate that this question has been sloved

  2. #2
    Registered User
    Join Date
    05-09-2009
    Location
    Manchester,England
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    58

    Re: if product exists then copy to that row

    I have managed to sort.

    if there is anyone interested I will post.

    Cheers

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: if product exists then copy to that row

    post in case anyone else needs similar help
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    05-09-2009
    Location
    Manchester,England
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    58

    Re: if product exists then copy to that row

    Here is the completed code. Alot neater than before many thanks to Per Jessen who help me tidy things up abit.

    Please Login or Register  to view this content.

+ 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