Results 1 to 2 of 2

INDEX/MATCH error in VBA

Threaded View

  1. #1
    Forum Contributor
    Join Date
    06-28-2004
    MS-Off Ver
    Home/Office 2016
    Posts
    259

    INDEX/MATCH error in VBA

    VBA - Trying to match the value of cboPlayer1A (SHEET1) to another sheet (SHEET2) and bring back the txtPOS1a value.
    SHEET2 is NOT sorted!!
    Been trying different combinations with no success.
    My latest error is: Unable to get the MATCH property of the WorksheetFunction class

    Code:
    If cboPlayer1A.Value <> "" Then
       txtPOS1A.Text = Application.WorksheetFunction.Index("SHEET2!C8:F34", Application.WorksheetFunction.Match(cboPlayer1A, "SHEET2!C8:C34", 0))
    End If
    cboPlayer1A and txtPOS1A are boxes in a form.
    SHEET2 contains Name, data, data, data in C:F
    Want to match the name in Column C and return data from the other columns
    Last edited by arlu1201; 04-09-2014 at 02:12 PM. Reason: Code tags

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Index/Match Ref Error
    By pauldaddyadams in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-15-2013, 05:30 PM
  2. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  3. [SOLVED] INDEX MATCH Getting Error
    By sagar007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-30-2012, 01:05 AM
  4. Excel 2007 : Index-Match Error
    By mic84 in forum Excel General
    Replies: 5
    Last Post: 03-13-2012, 12:06 PM
  5. Index match error
    By CESAR V. ARROYO in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-02-2010, 03:11 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