How to input images into excel cells?

13 Ansichten (letzte 30 Tage)
Ian Rozier
Ian Rozier am 1 Aug. 2017
Beantwortet: ES am 1 Aug. 2017
Is there a way input images into specific cells in excel? I have about 100 images that I would like to put in an excel file that currently has other information related to the images.

Antworten (2)

ES
ES am 1 Aug. 2017
You should use activeX (https://in.mathworks.com/help/matlab/matlab_external/using-a-matlab-application-as-an-automation-client.html) You can copy the image to clipboard and use activex excel control to paste it.
ActiveSheet.Paste
ActiveSheet.Shapes.Range(Array("Picture 1")).Select
ActiveWindow.ScrollRow = 2
ActiveWindow.ScrollRow = 1
Selection.ShapeRange.ScaleWidth 0.1552734375, msoFalse, msoScaleFromTopLeft
Selection.ShapeRange.ScaleHeight 0.1552734322, msoFalse, msoScaleFromTopLeft

Jan
Jan am 1 Aug. 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by