Importing images into visio through VBA -
i'm using vba import data excel file visio, , need include image in visio file isn't in excel file saved locally. need able manipulate image shape object (ie; set width/height/position using vba, shape.cells("width") = x etc.)
i've looked extensively online solution, no avail. appreciated.
you must define page want insert picture. read more page.import method (visio)
set shp = activepage.import("c:\users\surrogate\pictures\new.png") shp.cells("pinx").formula = "100 mm" shp.cells("piny").formula = "150 mm"
Comments
Post a Comment