+ Reply to Thread
Results 1 to 2 of 2

Iserror & VBA

  1. #1
    Ken G.
    Guest

    Iserror & VBA

    How do you use Excel's "iserror" in VBA? I have a macro that uses a search
    result and I want the macro to skip to the end if the search returns "#N/A"

  2. #2
    Chip Pearson
    Guest

    Re: Iserror & VBA

    Dim V As Variant
    ' code that sets V to something
    If IsError(V) = True Then
    ' do something
    Else
    ' do something else
    End If


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com


    "Ken G." <[email protected]> wrote in message
    news:[email protected]...
    > How do you use Excel's "iserror" in VBA? I have a macro that
    > uses a search
    > result and I want the macro to skip to the end if the search
    > returns "#N/A"




+ 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