Dynamic dropdownlist from productlist

  • MODERATOR NOTICE: This topic has also been posted on other sites and may already have an answer elsewhere. Please take this into consideration when answering this question

    Hi there,


    I'm not good in programming and I hoped that people could help me on this platform.

    I have made a macro that makes a productlist.

    However some options of this productlist sometime need to be changed.

    So I want a macro that scans my productlist and makes dropdownlists based on the list.

    What this macro needs to do is:


    1. It has to search for a word from the (productlist) subjectlist in another sheet.


      1. To do this correctly a cell before the subjectcell contains always: frm .


        1. Something I can"t find is the lookup function that is as follows: frm >cell< - (cell to the right)- Subject >Cell<
    2. When cell is found then select till end > without the last row! named: Next
    3. Then it needs to make a defined name for the selection.


      1. Code


        1. Application.CutCopyMode = False
        2. Selection.CreateNames Top:=True, Left:=False, Bottom:=False, Right:=False
    4. When the name is made there has to come a dropdownlist made specially for the subject cell
    5. And then is has to loop till the end of the productlist.

    The code is missing the loop and automatically search option and make dropdownlist.