+ Reply to Thread
Results 1 to 7 of 7

Index & Match in UserForm

  1. #1
    Forum Contributor MariaPap's Avatar
    Join Date
    10-19-2013
    Location
    Chania-Crete-Greece
    MS-Off Ver
    Excel 2003-2010
    Posts
    319

    Index & Match in UserForm

    Hello

    As my title says i would like to have an Index & match function in my userform.

    I know that i must use it like this Application.WorksheetFunction but i am not able to do it.

    User select a code and then in next text boxes, description and price should appear.

    Can you help me on this pls?
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Index & Match in UserForm

    Why not use the ListIndex of the combobox to get the row the selected code is on?
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor MariaPap's Avatar
    Join Date
    10-19-2013
    Location
    Chania-Crete-Greece
    MS-Off Ver
    Excel 2003-2010
    Posts
    319

    Re: Index & Match in UserForm

    Because...i don't know how to do that Mr Norie!

    Can you pls advice?

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Index & Match in UserForm

    Something like this.
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor MariaPap's Avatar
    Join Date
    10-19-2013
    Location
    Chania-Crete-Greece
    MS-Off Ver
    Excel 2003-2010
    Posts
    319

    Re: Index & Match in UserForm

    Easy when you know how to do this.

    Thank you very much Mr Norie!!

    1 question.

    Please Login or Register  to view this content.
    What does the +2??

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Index & Match in UserForm

    ListIndex starts at 0, the range you are populating the combobox starts at row 2, so we add 2 to get the row.

  7. #7
    Forum Contributor MariaPap's Avatar
    Join Date
    10-19-2013
    Location
    Chania-Crete-Greece
    MS-Off Ver
    Excel 2003-2010
    Posts
    319

    Re: Index & Match in UserForm

    Thank you!!

+ 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. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  2. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  3. How to Chr(10) Textbox.Text and a Index(Match()) value in VBA Userform
    By Joe Walsh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2013, 11:37 AM
  4. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  5. Replies: 5
    Last Post: 02-29-2012, 08:51 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