How to input images into excel cells?
Show older comments
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.
Answers (2)
ES
on 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
on 1 Aug 2017
1 vote
Did you take the time to ask an internet search engine at first? This is easier and faster than letting the forum post the corresponding links:
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!