Private Sub UserForm_Initialize()
Dim File As String
Dim Group_Pictures As Object
File = ActiveWorkbook.Path & "\UImg" & Format(Now, "yyyymmddhhmmss") & ".jpg"
Set Group_Pictures = [avancement]
With ActiveSheet.ChartObjects.Add(0, 0, Group_Pictures.Width, Group_Pictures.Height)
Group_Pictures.CopyPicture
.Chart.ChartArea.Select
.Chart.Paste
.Chart.Export File
.Delete
End With
Image2.Picture = LoadPicture(File)
Set Group_Pictures = Nothing
Kill File
End Sub