joined:May 14, 2012
I'm trying to create an add-in for excel with VSTO in VB.net, I imported an image(Logo1) in the resources folder of the project, now I would like to insert in the spreadsheet (mysheet).The image is into the installation package like example the images of the ribbons.
mysheett.Cells(10, 10) = My.Resources.ResourceManager.GetObject("Logo1")
mysheett.OLEObjects.Add(ClassType:="Forms.Image.1", Link:=False, _
DisplayAsIcon:=False, Left:=471.75, Top:=31.5, Width:=293.25, Height _
.Image1.Object.Picture = My.Resources.ResourceManager.GetObject("Logo1")