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.
I tried
I tried
mysheett.Cells(10, 10) = My.Resources.ResourceManager.GetObject("Logo1")
also
mysheett.OLEObjects.Add(ClassType:="Forms.Image.1", Link:=False, _
DisplayAsIcon:=False, Left:=471.75, Top:=31.5, Width:=293.25, Height _
:=125.25).Select()
.Image1.Object.Picture = My.Resources.ResourceManager.GetObject("Logo1")
don't works