Im a beginner in VBA and i am designing a form to be used at my work. I have 2 questions.
1) i have added a combo box but cant populate the list.
I was told to do this by a friend
If your Combo is from the Forms toolbar then:
Right click on you Combo and select "Format Control" then click the "Control Tab" now put you range that contains your list in the "Input range" box.
If from the Control Toolbox:
Right click on it and select "Properties" then Scroll down to "ListFillRange" and type your range, e.g A1:A100
You may want to consider using Data>Validation with "List" as your allowed entries.
Hope this helps
but i dont have format control and in the properties list, listfillrange does not appear??? What do i do now?
also
2) I want to set up a txt box that automatically generates a reference number that cant be edited if the form is being filled in.
Can you help?
I had this on another thread that was closed and was told this by paul:
I mean there are two type of controls Forms and active x
active x has the format control
Forms has the properties
you need to select the active x Controls toolbox
or run this
__________________
regards pike
But i dont have format control, i dont know how to add it and i dont know where to insert this code so it works???????
Please help!
Bookmarks