98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Access VBA Training and help » Combo boxes in forms and spreadsheets
Combo boxes in forms and spreadsheets
Resolved · High Priority · Version 2007
Aquila has attended:
Excel VBA Intro Intermediate course
Combo boxes in forms and spreadsheets
Hi
I have a question: I have a combo box in a form. If I select a name on this form combo box, I want it to select the same name from an existing combo box anlready in my spreadsheet. Is this possible and how would I go about writing the code for this?
thanks
RE: combo boxes in forms and spreadsheets
Hi Aquila
Thanks for your question
If I understand you correctly you want to select an item from a combo box on a form, and you then want that value to appear in a combo box built into a spreadsheet. If this is the case, then I would suggest writing a procedure that runs on the form's combo box "On Click" event. Simply pass the contents of the combo to a variable, and then set the cell that contains the combo box's value equal to that variable.
Hope this helps
Regards
Stephen
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Access tip:DsumYou can create percentage values based on individual products / items by using a Dsum function (used with a grouped query) |