Using vb.net to dynamically create excel activeX controls

  • Thread starter Thread starter done1105
  • Start date Start date
D

done1105

Using VB.net, i want to dynamically create a workbook and add a
command botton to one of the sheets. how would i do this? I see
examples using VBA but i am not able to translate them to Vb.net.
Also, after having created the button, how would I be able to define
an event for it (such as the click event). Thanks
 
Using VB.net, i want to dynamically create a workbook and add a
command botton to one of the sheets. how would i do this? I see
examples using VBA but i am not able to translate them to Vb.net.
Also, after having created the button, how would I be able to define
an event for it (such as the click event). Thanks

Addhandler is used to assign an event handler at runtime.

Thanks,

Seth Rowe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top