+ Reply to Thread
Results 1 to 2 of 2

If condition fullfilled exit sub

  1. #1
    Forum Contributor
    Join Date
    02-07-2011
    Location
    Bhutan
    MS-Off Ver
    Excel 2007
    Posts
    244

    Post If condition fullfilled exit sub

    Hi,

    I have a problem in vba code. Any help will be great.
    I want a vba code that will do something like this.

    -------------------

    If the value of A1 is equal to "ARR-278"
    exit sub
    else
    write the value in A1="ARR-278" in white color.

    --------------------

    Thanks for all your help,
    Best regards,
    Last edited by fatalcore; 05-25-2011 at 12:47 AM.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: If condition fullfilled exit sub

    fatalcore,

    Give this a try,
    Please Login or Register  to view this content.


    Hope this helps,
    ~tigeravatar

+ 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