Results 1 to 7 of 7

If value exists, go to end. Otherwise continue.

Threaded View

mvparker79 If value exists, go to end.... 07-02-2014, 10:09 AM
AB33 Re: If value exists, go to... 07-02-2014, 10:13 AM
mvparker79 Re: If value exists, go to... 07-02-2014, 10:17 AM
mvparker79 Re: If value exists, go to... 07-02-2014, 10:16 AM
AB33 Re: If value exists, go to... 07-02-2014, 10:17 AM
AB33 Re: If value exists, go to... 07-02-2014, 10:21 AM
mvparker79 Re: If value exists, go to... 07-02-2014, 10:23 AM
  1. #1
    Forum Contributor
    Join Date
    04-27-2009
    Location
    Dallas, TX
    MS-Off Ver
    Office 365
    Posts
    215

    If value exists, go to end. Otherwise continue.

    Basically I want the code to start by looking in the sheet "dump" for the string "Check Figure". If the string exists, then it displays a message then ends the macro. If the value does not exist, then just continue running the macro. This should be very simple but I'm drawing a blank. Here is what I have so far.

        If Dump.Cells.Find(what:="Check Figure") = "Check Figure" Then
        Fail = MsgBox("Import new data")
        GoTo FailEnd
        Else
        End If
    Last edited by mvparker79; 07-02-2014 at 10:41 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Error Worksheet Exists - need code to continue to next name if it does
    By missit in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-29-2014, 12:10 AM
  2. vba to add new row and continue new #
    By adamheon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2013, 03:42 PM
  3. continue code
    By stevesunfold in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-30-2008, 10:01 AM
  4. [SOLVED] to continue down in the same row
    By alex178 in forum Excel General
    Replies: 2
    Last Post: 07-08-2006, 12:40 PM
  5. Continue
    By Steph in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-31-2006, 01:55 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