+ Reply to Thread
Results 1 to 4 of 4

VB Code to see if last 2 numbers same

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    VB Code to see if last 2 numbers same

    Hello:

    Please refer to attached file.

    I need VB Code to do following.
    Check last 2 non-zero values in column B.
    If they are same then need POP up message saying "Last 2 numbers same, pls check"

    Please let me know if you have any questions.
    Thanks.

    Riz
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: VB Code to see if last 2 numbers same

    Hi Riz,

    Try this:

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: VB Code to see if last 2 numbers same

    Hello:

    Thanks Trebor

    Oh i see issue.
    Will further check and let u know.

    Riz
    Last edited by rizmomin; 07-27-2020 at 07:34 PM.

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: VB Code to see if last 2 numbers same

    Oh i see issue
    You say you see an issue but as you've give me a rep (thank you ) I take it all is good? The code ran fine for me.

+ 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] Code to add numbers
    By CHRISTINEKENDALL93 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-14-2019, 05:13 PM
  2. [SOLVED] VBA code for sequential numbers for a column containing letters and numbers
    By YuriyBaron in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2018, 10:03 PM
  3. [SOLVED] Find Max # in zip code range and then sum all numbers in that zip code
    By amyp22x3 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-08-2013, 12:25 PM
  4. Code: Initials + numbers
    By Adamitus in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-26-2012, 12:45 PM
  5. code to convert numbers to other set of numbers
    By jfkeith in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-10-2010, 08:22 PM
  6. Replies: 1
    Last Post: 07-28-2006, 02:15 AM
  7. Replies: 0
    Last Post: 07-27-2006, 10:15 PM

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