andycogress
IS-IT--Management
I've currently got the following bit of code in a macro:
user = Application.InputBox("Enter a user")
This pops up a box that asks for a user name which it then goes off and does something with.
However, I want to show a combo box with just the users available. The users are in a sheet named "User Input" in column A - is there a way of populating the combo box from there with the names? Also, the usernames may appear more than once so it should only do unique names. Am I pushing the possibilities of VBA?
(you'll probably guess, I'm not a great VBA programmer!)
user = Application.InputBox("Enter a user")
This pops up a box that asks for a user name which it then goes off and does something with.
However, I want to show a combo box with just the users available. The users are in a sheet named "User Input" in column A - is there a way of populating the combo box from there with the names? Also, the usernames may appear more than once so it should only do unique names. Am I pushing the possibilities of VBA?
(you'll probably guess, I'm not a great VBA programmer!)