[vba]Код
Sub nnn()
Dim pic As Shape
Dim nm$
'-----------------------
Application.ScreenUpdating = False
Application.DisplayAlerts = False
With ActiveSheet
For Each pic In .Shapes
If pic.Type = 3 Or pic.Type = 6 Then
pic.Copy
nm = ThisWorkbook.Path & "\" & pic.Name & ".jpg"
With .ChartObjects.Add(0, 0, pic.Width, pic.Height).Chart
.ChartArea.Border.LineStyle = 0
.Parent.Select
.Paste
.Export Filename:=nm, FilterName:="JPG"
.Parent.Delete
End With
End If
Next
End With
Application.DisplayAlerts = True
Application.ScreenUpdating = True
Beep
End Sub
[/vba]