combo boxes forms and
RH

Forum home » Delegate support and help forum » Microsoft Access VBA Training and help » Combo boxes in forms and spreadsheets

Combo boxes in forms and spreadsheets

resolvedResolved · 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 courses

 

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
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Access tip:

Dsum

You can create percentage values based on individual products / items by using a Dsum function (used with a grouped query)

[Each value column] / Dsum[field:total for the column needed to be calculated],[tablename]

View all Access hints and tips


Server loaded in 0.06 secs.