A
aferriere
Hi
I have created a shared add in for Excel using Visual Studio.NET 1.1.
Please note I am NOT using Visual Studio Tools for Office. I am trying
to add a dropdown to the active worksheet at runtime.
I am not able to figure out what code to do so. The following
approaches DONT work
ActiveSheet.OLEObjects.Add(ClassType:="Forms.ComboBox.1", Link:=False,
_
DisplayAsIcon:=False, Left:=65.25, Top:=40.5, Width:=72,
Height:=18)
ActiveSheet.DropDowns.Add()
it even possible to do this in VS.NET ?
Thanks
I have created a shared add in for Excel using Visual Studio.NET 1.1.
Please note I am NOT using Visual Studio Tools for Office. I am trying
to add a dropdown to the active worksheet at runtime.
I am not able to figure out what code to do so. The following
approaches DONT work
ActiveSheet.OLEObjects.Add(ClassType:="Forms.ComboBox.1", Link:=False,
_
DisplayAsIcon:=False, Left:=65.25, Top:=40.5, Width:=72,
Height:=18)
ActiveSheet.DropDowns.Add()
Add method. I can use the Add method from VBA but not from VS.NET. IsFrom within the code the OLEObjects and DropDowns class dont have the
it even possible to do this in VS.NET ?
Thanks