Results 1 to 6 of 6

Capturing Application.Match error using loops

Threaded View

  1. #1
    Registered User
    Join Date
    10-10-2018
    Location
    Budapest, Hungary
    MS-Off Ver
    MS Office 2010
    Posts
    2

    Capturing Application.Match error using loops

    I want to locate the position of two dates inside a list of sequential dates.

    The list is arranged earliest date to latest date.

    The first date is the start_date, if the start_date is not contained in the list, it should increase by one until a match occurs.

    The second date is the end_date, if the end_date is not contained in the list, it should decrease by one until a match occurs.

    I currently use Application.Match to look for each date, and unsuccessfully try to fit a loop to capture any error, and increase (decrease) the start (end) date.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Application Match error 13
    By willyman10 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2017, 01:24 AM
  2. [SOLVED] Error 2042 for application.match
    By a.hudrea in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2016, 03:41 AM
  3. Error 2042 on Application.Match formula
    By krazyhype19 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-05-2015, 03:25 AM
  4. [SOLVED] Application.MoveAfterReturnDirection - Capturing cursor move direction
    By mowens74 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-11-2013, 10:08 AM
  5. Error 2042 with Application.Match
    By mgurren in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2013, 02:15 AM
  6. Application.Worksheetfunction.match ERROR
    By Guido Meng in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-28-2013, 01:27 PM
  7. MATCH and capturing the error
    By Phil_V in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-06-2009, 09:21 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