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
 
Back
Top