VBA UserForm || Textbox Autofill Using Worksheets
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: VBA UserForm || Textbox Autofill Using Worksheets

  1. #11
    MrExcel MVP mikerickson's Avatar
    Join Date
    Jan 2007
    Location
    Davis CA
    Posts
    22,519
    Post Thanks / Like
    Mentioned
    20 Post(s)
    Tagged
    15 Thread(s)

    Default Re: VBA UserForm || Textbox Autofill Using Worksheets

    Try this
    Code:
    Private Sub ComboBox3_Change()
    '...
    
    Dim i As Long, Lastrow As Long
    Dim otherValue as Variant
    
    otherValue = Application.VLOOKUP(Combobox3.Text, WordsRange.Resize(,2),2,False)
    
    If IsError(otherValue) then otherValue = vbNullString
    Me.Textbox2.Text = otherValue
    
    End Sub

  2. #12
    Board Regular
    Join Date
    Jun 2019
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: VBA UserForm || Textbox Autofill Using Worksheets

    @mikerickson

    Thanks A lot. You saved my ***.

  3. #13
    Board Regular
    Join Date
    Jun 2019
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: VBA UserForm || Textbox Autofill Using Worksheets

    @mikerickson

    I solved. Thanks
    Last edited by sachinns; Jul 31st, 2019 at 03:24 AM.

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •