+ Reply to Thread
Results 1 to 8 of 8

Matching Macro

  1. #1
    Registered User
    Join Date
    12-12-2012
    Location
    delhi
    MS-Off Ver
    Excel 2010
    Posts
    26

    Matching Macro

    Need a few changes in that if you could please help.
    Attaching the file with the coding.

    The macro use to match the same amounts with the same reference and turn it to Green. (eg. 50 Credit with 50 Debit both with reference say 7896) - SHEET 1

    I just need one more thing added to this the coding ( One more Colum will be added called source -SHEET 2 )
    If both the amounts match with same reference but if the source is BANK for both they should not turn Green)

    Sheet one is working macro.
    Sheet 2 is the one in which i need changesMatch Macro.xlsm.

    I hope i have not made it confusing, waiting for ur reply.
    Thanks for your support guys, really appreciate it.

    Kartikeya Dawar

  2. #2
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: Matching Macro

    Hello!

    There's a suggestion:

    Please Login or Register  to view this content.
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

  3. #3
    Registered User
    Join Date
    12-12-2012
    Location
    delhi
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Matching Macro

    Hey, thanks for your quick response, just one thing more i would like to ask when ever the new reference column has a Blank or any alphabet the macro dosen't work..?

    Please advice

    Thanks Once again

  4. #4
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: Matching Macro

    The new reference column being the new source column?

  5. #5
    Registered User
    Join Date
    12-12-2012
    Location
    delhi
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Matching Macro

    Dint really understand ??

  6. #6
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: Matching Macro

    Please explain the situation that the macro doesn't work. I attached the file now with the code on Worksheet Activate event.
    So every visit to the second worksheet will do.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-12-2012
    Location
    delhi
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Matching Macro

    MatchMacro.xlsm

    Hey, attaching the sheet error comes on sheet 2.

    Thanks for your help.

  8. #8
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: Matching Macro

    You have declared acct as double
    Please Login or Register  to view this content.
    so it expects a number. Try to declare Acct as string
    Please Login or Register  to view this content.
    Take a look at this:
    Please Login or Register  to view this content.
    Don't forget to mark as SOLVED and add rep if you consider.
    Last edited by bulina2k; 02-11-2014 at 06:47 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Matching Macro, Matching Dr. to Cr.
    By kartikeyadawar in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 01-15-2013, 12:19 AM
  2. Amendment to Matching Macro
    By somesoldiers in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2011, 11:25 AM
  3. row matching macro.
    By mkozakov in forum Excel General
    Replies: 3
    Last Post: 05-07-2009, 07:14 AM
  4. Macro - matching
    By dcmb in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 02-11-2009, 01:44 AM
  5. matching macro
    By novice_excel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-05-2007, 01:25 AM

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