I am having trouble with a macro that is supposed to perform the following tasks:
Prompt the user to input a cell where the drop down list is to be located
Prompt the user for a range of data to use in the drop down list values
Create drop down list
Hide the rows in which the drop down list values are located
I originally recorded a macro to do this, and then I am tweaking the code accordingly. What is troubling me is getting the macro to select a range from an input box, the using that input to create a list. It's the partcular language included in the .Add command that I do not understand I defined the input box as a range variable celRng, and I am trying to get Formula1: = celRng. But it is not working.
I have attached the code below, and marked in which lines the errors are located:
I feel as if the bug in this code is very simple and that I am not fundamentally understanding something. Any help is greatly appreciated!
DJL
Bookmarks