+ Reply to Thread
Results 1 to 6 of 6

update data by looking invoice number

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    pakistan
    MS-Off Ver
    Excel 2007
    Posts
    89

    update data by looking invoice number

    Hi,

    I need a formula OR VBA Code

    I am working on two different worksheets. In both worksheets I have 5 columns " Date" , " Customer Name" , "Invoice number", "payment Received", "Amount Receivable".

    I want when in my main worksheet #1 when any Payment is received for a particular invoice . The data of only column "Payment Received" should be automatically update to second sheet row by looking/searching that particular " invoice number " .

    Any formula or VBA please

    Plz Help..

    Thanks

  2. #2
    Forum Contributor
    Join Date
    02-28-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    272

    Re: update data by looking invoice number

    I think this is what you are looking for
    Attached Files Attached Files
    Please consider adding a * if I helped

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: update data by looking invoice number

    Hi Z,

    Try this in the worksheet #1 module:

    Option Explicit

    Please Login or Register  to view this content.
    Directions for running the routine(s) just supplied

    Copy the code to the clipboard

    Press ALT + F11 to open the Visual Basic Editor.

    Open a macro-enabled Workbook or save your Workbook As Macro-Enabled

    Click on the sheet

    Paste the code and you're ready!
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Registered User
    Join Date
    02-22-2013
    Location
    pakistan
    MS-Off Ver
    Excel 2007
    Posts
    89

    Re: update data by looking invoice number

    exactly that whats I am looking
    please submit code

  5. #5
    Registered User
    Join Date
    02-22-2013
    Location
    pakistan
    MS-Off Ver
    Excel 2007
    Posts
    89

    Re: update data by looking invoice number

    Hello xladept

    Hi Thanks very much for your help.. this really works for me

    Can you tell me what If my I also want update another column using the same invoice number..I mean what I want to update two columns using the same invoice number.........like column number 4 and cloumn 5.

    Can you please send code for multi column update using same invoice number
    Thanks once again


    Regards
    Z

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: update data by looking invoice number

    Here's another column added on - if you want something more intricate, let me know

    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