Try (in Excel97):
SheetName = ActiveSheet.Name
Range1.Select
Charts.Add
ActiveChart.ChartType = xlPie
ActiveChart.Location Where:=xlLocationAsObject, Name:=SheetName
ActiveWindow.Visible = False
Notice that I didn't use the
ActiveChart.SetSourceData line
This probably works because the data region is simple and Excel
"defaults" to want you want in that case.
You can skip "Set Range1 = ActiveCell.CurrentRegion" and just use
ActiveCell.CurrentRegion.Select, if you want.