the code is:
In Excel it looks like this:

After saving it looks like this:

The lines are exactly on the edges of the image, not the chart created. If I stop the macro right before
and make ctrl+C (chart is selected at that point), ctrl+V to Paint or Word, I get no gray border.
Any help would be greatly appreciated.
Code:
Sub mapsave()
Dim pic_rng As Range
Dim ShTemp As Worksheet
Dim ChTemp As Chart
Dim PicTemp As Picture
Dim FName As String
FName = "C:\Users\Rychu\Desktop\Temperatures.png"
Application.ScreenUpdating = False
ThisWorkbook.Windows(1).DisplayGridlines = False
Set pic_rng = Worksheets("map").Range("A1:k32")
Set ShTemp = Worksheets.Add
Charts.Add
ActiveChart.Location Where:=xlLocationAsObject, Name:=ShTemp.Name
Set ChTemp = ActiveChart
pic_rng.CopyPicture Appearance:=xlScreen, Format:=xlPicture
With ThisWorkbook.Sheets("map")
ActiveSheet.Shapes.Item(1).Line.Visible = msoFalse
ActiveSheet.Shapes.Item(1).Width = .Range("A1:k32").Width
ActiveSheet.Shapes.Item(1).Height = .Range("A1:k32").Height
End With
ChTemp.Paste
ChTemp.Export Filename:=FName, FilterName:="png"
Application.DisplayAlerts = False
ShTemp.Delete
Application.DisplayAlerts = True
ThisWorkbook.Windows(1).DisplayGridlines = True
Application.ScreenUpdating = True
Set ShTemp = Nothing
Set ChTemp = Nothing
Set PicTemp = Nothing
End Sub
In Excel it looks like this:

After saving it looks like this:

The lines are exactly on the edges of the image, not the chart created. If I stop the macro right before
Code:
ChTemp.Export Filename:=FName, FilterName:="png"
Any help would be greatly appreciated.