Export pictures from excel file into jpg using VBA

后端 未结 7 1321
刺人心
刺人心 2020-11-27 07:17

I have an Excel file which includes pictures in column B and I want like to export them into several files as .jpg (or any other picture file format). The name of the file s

7条回答
  •  温柔的废话
    2020-11-27 07:30

    Dim filepath as string
    Sheets("Sheet 1").ChartObjects("Chart 1").Chart.Export filepath & "Name.jpg"
    

    Slimmed down the code to the absolute minimum if needed.

提交回复
热议问题