C# and VSTO

Hi Experts, currently I am developing an application using C# and Visual Studio Tools for MS Office (VSTO). I have created three controls in the Excel sheet namely TextBox1, ComboBox1 and Button1. How could I associate these controls in the C# so that I could populate the TextBox1 or ComboBox1 (eg ComboBox1.Items.Add("Data"))?

I also want to be able to create these three controls using C# in the Excel sheet. How could I do it?

Please advice.

TIA.
bpyeoAsked:
Who is Participating?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.