+ Reply to Thread
Results 1 to 2 of 2

Index Match function does not work with Textbox VBA

  1. #1
    Registered User
    Join Date
    03-13-2021
    Location
    Melbourne
    MS-Off Ver
    Microsoft 365
    Posts
    12

    Index Match function does not work with Textbox VBA

    I have this code

    Please Login or Register  to view this content.
    where
    Please Login or Register  to view this content.

    Without 'SN' then it works fine, but because I want to index-match the value in Textbox1 I need to figure out how to use it.

    I'm pretty sure the issue is something to do with the data variable type; i used Dim SN As Integer because its a number I want to use
    But even with other variable types I'm finding errors like "Run-time error '1004': Unable to get the Match property of the WorksheetFunction class"

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Index Match function does not work with Textbox VBA

    You need to match the data types.

    Dimention SN as variant and add one line before that line
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] INDEX, MODE & MATCH Array Function will not work on Multiple Columns
    By Lycanthrope74 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-06-2020, 01:44 AM
  2. INDEX/MATCH function cannot get to work
    By kobiashi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2018, 06:40 PM
  3. Index Match Function - Can't get to work properly
    By agindustrial in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-11-2015, 04:51 PM
  4. function INDEX MATCH MATCH doesn´t work
    By leonelcd in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-31-2015, 11:36 AM
  5. Index Match Match Formula DOESN'T WORK WITH TABLES/TABLE NAMES ??
    By Underling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2014, 09:01 PM
  6. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 02:19 PM
  7. Replies: 5
    Last Post: 01-06-2012, 08:00 PM

Tags for this Thread

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