Im not sure if my title is the correct terminology, but I am writing a function in VBA that I will need to call many times in my future designing. One of the parameters being sent to this function will be one of 5 set options. What I want is when I am calling that function within VBA editor, when I get to that parameter, I want a list box to display with the options to choose from. Just like some of the built in functions do. For example, when using the msgbox() function i type:
msgbox "hello world",vbokonly
After I type the comma after "hello world" I get a drop down menu with a list of options to select, vbokonly being one of the options. How do i set up my function so when i call it from within VBA editor, i get a similar display/shortcut with my custom options/values?
msgbox "hello world",vbokonly
After I type the comma after "hello world" I get a drop down menu with a list of options to select, vbokonly being one of the options. How do i set up my function so when i call it from within VBA editor, i get a similar display/shortcut with my custom options/values?