$Chart->{ChartType} = xlLineMarkers; $Chart->Location({Where => xlLocationAsNewSheet}); #### use Win32::OLE::Const 'Microsoft Excel';