Results 1 to 7 of 7

Can vba "find what" use a dropdown list box to be dynamic

Threaded View

bowslam Can vba "find what" use a... 04-11-2022, 06:04 PM
Artik Re: Can vba "find what" use a... 04-11-2022, 07:06 PM
bowslam Re: Can vba "find what" use a... 04-12-2022, 10:25 PM
Artik Re: Can vba "find what" use a... 04-12-2022, 10:50 PM
jolivanes Re: Can vba "find what" use a... 04-12-2022, 11:47 PM
bowslam Re: Can vba "find what" use a... 04-13-2022, 01:31 AM
bowslam Re: Can vba "find what" use a... 04-13-2022, 09:02 PM
  1. #1
    Registered User
    Join Date
    11-03-2011
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    18

    Can vba "find what" use a dropdown list box to be dynamic

    I'm using the find function in VBA. I want to use a dropdown list box with several names.
    Can the dropdown list box location be used for the "what" in the Cells.Find(What:="dropdown list box" so the name picked
    in the dropdown list box will be the name searched. See attached worksheet.

    Thanks for your help.



    Dropdown list box
    JOHN



    VBA CODE TO "FIND" . IN THE FIND(WHAT:="JOHN" IS THERE A WAY TO USE THE NAME IN THE DROP DOWN LIST BOX IN B2 TO MAKE IT DYNAMIC?
    Cells.Find(WHAT:="JOHN", After:=ActiveCell, LookIn:= _
    xlFormulas2, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:= _
    xlNext, MatchCase:=False, SearchFormat:=False).Activate
    Attached Files Attached Files
    Last edited by bowslam; 04-11-2022 at 06:10 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Need assistance with "Pivot Table", "Slicer", and "Dynamic/Interactive Graph"
    By skydivetom in forum Excel Charting & Pivots
    Replies: 26
    Last Post: 06-27-2020, 11:03 AM
  2. Replies: 7
    Last Post: 06-27-2020, 05:02 AM
  3. Replies: 11
    Last Post: 06-05-2020, 02:08 AM
  4. Replies: 2
    Last Post: 07-24-2017, 02:19 AM
  5. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  6. Replies: 6
    Last Post: 02-02-2016, 04:26 PM
  7. Formula only challenge - find an ordered "list" in another "rng"
    By JBeaucaire in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 11-20-2012, 05:51 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