pcc
Well-known Member
- Joined
- Jan 21, 2003
- Messages
- 1,382
- Office Version
- 2021
- Platform
- Windows
I have a workbook with various pictures in it, that I would like to save as .jpg files. If I set the macro recorder going, select the picture, then choose "Save as picture", enter the picture name, then "Save", it all seems to be fine. However, when I stop the macro recorder, and inspect the macro, all I get is
Can anyone advise the best way to export the pictures as individual .jpg files? I can export them to Powerpoint via VB and then save the .ppt files as .jpgs, but I need to be able to assign specific names to the .jpgs. (Powerpoint just does Slide1, Slide2 etc). Hope someone can advise. Regards
VBA Code:
Sub Macro5()
Range("O10").Select
ActiveSheet.Shapes.Range(Array("Picture 2")).Select
End Sub
Can anyone advise the best way to export the pictures as individual .jpg files? I can export them to Powerpoint via VB and then save the .ppt files as .jpgs, but I need to be able to assign specific names to the .jpgs. (Powerpoint just does Slide1, Slide2 etc). Hope someone can advise. Regards