+ Reply to Thread
Results 1 to 15 of 15

Search and select option inUserform

  1. #1
    Forum Contributor
    Join Date
    08-15-2016
    Location
    Chennai
    MS-Off Ver
    MS2013
    Posts
    159

    Search and select option inUserform

    For an example. I have list of details in a sheet .

    I need to select and search the values in userform. is it possible? how can we do?

    Can you please help me on this.

    click on the client_url from attached sheet and it will show you the list of client that i have.

    But i want in a userform with search and select the value. if we are selecting any of the value, the url from another row
    should get displayed in userform textbox.
    Attached Files Attached Files
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Search and select option inUserform

    Not 100 % sure wat you want
    The form CLIENT_UR was Emty

    for start i put something in there


    Kind regards
    Leo
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-15-2016
    Location
    Chennai
    MS-Off Ver
    MS2013
    Posts
    159

    Re: Search and select option inUserform

    Hi Leo,

    Thank you!! Thank You!! Thank you!!

    This is what i expected. You have given more than what i expected.

    Regards,
    Praba

  4. #4
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Search and select option inUserform

    Ok Praba,

    2 things i did to let it work you have to know

    1 data in sheet2 start in A1, and there are no emty rows or columns.
    2. there is an additional sheet, helper (hidden)

    Cheers
    Leo

  5. #5
    Forum Contributor
    Join Date
    08-15-2016
    Location
    Chennai
    MS-Off Ver
    MS2013
    Posts
    159

    Re: Search and select option inUserform

    Leo,

    one more little change is required.

    Actual : If i am clicking CLIENT_URL button from functionalities userform, its navigating to sheet2 where we have to
    click one more button called userform to see the CLIENT_URL userform.

    Expected : I dont want navigating to sheet2 , instead of that if am clicking CLIENT_URL button from functionalities userform it should
    directly navigate to the CLIENT_URL userform which is created by you.

    Thanks!!

    Regards,
    Praba
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Search and select option inUserform

    Praba

    this for the button

    Please Login or Register  to view this content.
    Cheers
    Leo

  7. #7
    Forum Contributor
    Join Date
    08-15-2016
    Location
    Chennai
    MS-Off Ver
    MS2013
    Posts
    159

    Re: Search and select option inUserform

    Thanks Leo.

    From the same sheet, can we have any other attractive way for ParticipantStatus userform . Selecting the value from drop-down and corresponding answer will be displayed in a text box.

    Regards,
    Praba

  8. #8
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Search and select option inUserform

    Hoi Praba,

    found 1 bug in previus, you not get thr good row number after use of the search field
    this is solved in this 1

    for the new question i changed the named range, it is now dynamic,
    so you can add more rows


    Kind regards
    Leo
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    08-15-2016
    Location
    Chennai
    MS-Off Ver
    MS2013
    Posts
    159

    Re: Search and select option inUserform

    Thank You Muchhhhhhhhh Still lot of questions waiting for you

  10. #10
    Forum Contributor
    Join Date
    08-15-2016
    Location
    Chennai
    MS-Off Ver
    MS2013
    Posts
    159

    Re: Search and select option inUserform

    Hi Leo,

    Below are the my requirements :

    1. If am selecting the button from Withdrawal userform, another userform should display with my data (Instead of going to sheet),
    2. Similarly for other userform also.

    Aim is that, clicking the button and going to the sheet doesn't seems looks good. The data should displayed in textbox
    from another userform

    Please help me on this!
    Attached Files Attached Files

  11. #11
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Search and select option inUserform

    another userform should display with my data (Instead of going to sheet),
    sheets are emty
    cant create userform on emty sheets

    Cheers
    Leo

  12. #12
    Forum Contributor
    Join Date
    08-15-2016
    Location
    Chennai
    MS-Off Ver
    MS2013
    Posts
    159

    Re: Search and select option inUserform

    Leo,

    i have the data in sheet, for an example if am clicking the any withdrawal button from withdrawal userfrom its navigating to a sheet. instead of that, userform should get display when clicking the withdrawal button with the data available in sheet

  13. #13
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Search and select option inUserform

    Hi Praba,

    lot of sheets with only in 1 or 2 or 3 cells data
    you have to ask yourself do i need all those sheets ?

    also for the sheets you need, give them names,
    see on userform1 wy


    Kind regards
    Leo
    Attached Files Attached Files

  14. #14
    Forum Contributor
    Join Date
    08-15-2016
    Location
    Chennai
    MS-Off Ver
    MS2013
    Posts
    159

    Re: Search and select option inUserform

    Hi Leo,

    i am trying to save the data in target workbook and every time its showing " Do you want to save the changes that you made " (Target workbook)

    i want the macro to auto save the target workbook.

    Below the macro used :

    Private Sub CommandButton1_Click()
    Dim x As Workbook
    Set x = Workbooks.Open("\\marrs\share\IS\Shared\Praba.xlsm")
    Size = WorksheetFunction.CountA(Worksheets(1).Columns(2))
    a = Size + 1
    x.Sheets("Sheet1").Range("B" & a).Value = TextBox1.Value
    x.Sheets("Sheet1").Range("C" & a).Value = ComboBox1.Value
    x.Sheets("Sheet1").Range("D" & a).Value = ComboBox2.Value
    x.Sheets("Sheet1").Range("E" & a).Value = ComboBox3.Value
    x.Sheets("Sheet1").Range("F" & a).Value = ComboBox4.Value
    x.Sheets("Sheet1").Range("G" & a).Value = TextBox2.Value
    x.Close
    End sub

    Private Sub CommandButton2_Click()
    Unload Me
    End Sub

  15. #15
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Search and select option inUserform

    dont rememnber too lang ago

+ 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. vba for Option button to select
    By saravanan1981 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2016, 04:59 AM
  2. [SOLVED] Select Option in IE combobox using VBA
    By leighjamo74 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-12-2016, 12:21 PM
  3. [SOLVED] Prompt to select option
    By PompadourJay in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-13-2015, 03:51 PM
  4. Replies: 0
    Last Post: 02-18-2015, 10:06 AM
  5. Replies: 0
    Last Post: 04-17-2013, 10:31 AM
  6. [SOLVED] Select next cell option
    By yiannis1925 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-16-2012, 03:05 PM
  7. Can only select a drop down option once
    By davidstokes in forum Excel General
    Replies: 27
    Last Post: 02-22-2012, 09:55 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