How to add dynamic (WinForm) control to worksheet?

Add-in Express™ Support Service
That's what is more important than anything else

How to add dynamic (WinForm) control to worksheet?
Josh Lim

Posts: 2
Joined: 2012-11-14

I'm building an Application-level addin.
I'm trying to embed a custom WinForms user control directly onto an Excel worksheet.

In VSTO, I used to be able to do this.
(MSDN Documentation:
1. Creating a host item for the worksheet (Globals.Factory.GetVstoObject(sheet))
2. Adding the control on the host sheet item (hostSheet.AddControl(new WinFormControl(),x,y,width,height,"MyControl"))

But now that I've switched to ADX, I have no idea how to achieve this.

Can someone please help? What're the equivalent classes/methods to achieve this in ADX?

Posted 14 Nov, 2012 02:44:30 Top
Andrei Smolin

Add-in Express team

Posts: 16840
Joined: 2006-05-11
Hi Josh,

This isn't supported by Add-in Express. Consider showing that control on a pane.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 14 Nov, 2012 02:49:26 Top