Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

combo boxes forms and

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

ResolvedVersion 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:

Modal forms

If you have created a form / switchboard and dont want people to get away from using the switchboard, you can change the form properites for Modal to On.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.