+ Reply to Thread
Results 1 to 4 of 4

vba SumProduct Error

  1. #1
    Registered User
    Join Date
    07-17-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    48

    vba SumProduct Error

    I'm newbie in vba macro.
    Currently i facing a problem using the sumproduct in my macro.(i'm using excel 2003)
    My logic is like that is sheet1(label no) = sheet 2 (label no) & sheet 1 (amount) <>sheet 2(amount) then copy sheet 2 data into sheet 3
    . My coding is below but i still can not copy them into sheet3. Anyone have any idea.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: vba SumProduct Error

    try this
    replace sumproduct line as
    Please Login or Register  to view this content.
    does it help
    I am not an expert. better solutions may be available
    [email protected]

  3. #3
    Registered User
    Join Date
    07-17-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: vba SumProduct Error

    It can not work.
    Last edited by Cutter; 07-21-2012 at 12:36 PM. Reason: Removed whole post quote

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: vba SumProduct Error

    Please Login or Register  to view this content.
    Question1): Why not?

    Question 2): Does you're sumproduct works in Excel?

    Then you can record the VBA code with the macro recorder.

    Is this the same youre working on?
    http://www.excelforum.com/excel-gene...e-cateria.html
    Last edited by oeldere; 07-21-2012 at 04:35 AM. Reason: Is this the same youre working on?
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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