+ Reply to Thread
Results 1 to 3 of 3

Combo Box Search and list down

  1. #1
    Registered User
    Join Date
    11-09-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Combo Box Search and list down

    Hai

    Refering previous thread,

    http://www.excelforum.com/excel-prog...html?p=3245862

    ----------------------------------
    'Select Case LBValue
    'Case "data1"
    'dataRng = "Namesdata1"
    'Case "data2"
    'dataRng = "Namesdata2"
    'Case Else
    'dataRng = "Namesdata1"
    'End Select
    dataRng = "Namesdata2"
    ---------------------------------

    If i change formula Namesdata1 to Namesdata2, the result value will be from data2 sheet. but if i change the sheet name from data1 to data2, to result still from same sheet, it seem changing sheet name doesn't effect the result. I try to find the range column of seach function in via developer-design mode and 'project explorer' & 'properties window' from window VB, but seem no range of column being set. so how do i want to search on different sheet and different column.

    TQVM!

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Combo Box Search and list down

    Hi, acrylic26,

    have a look at the NameManager for the dynamic lists the code refers to (and the areas they work in).

    HTH,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    11-09-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Combo Box Search and list down

    Quote Originally Posted by HaHoBe View Post
    Hi, acrylic26,

    have a look at the NameManager for the dynamic lists the code refers to (and the areas they work in).

    HTH,
    Holger
    oowh, this is new for me, i tried to figure it out within VBA almost a week. thank you very much sir.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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