Save filename doubled-up

I am populating an advColumnGrid1 from a CSV file, displaying it, and saving it as an XLS

csvname:='c:\path\fred.csv';
xlsname:='c:\path\fred.xls';

advColumnGrid1.LoadFromCSV(csvname);
AdvGridExcelIO1.XLSExport(xlsname,'Report');

I end up with a file called c:\path\fred.csvfred.xls
rather than c:\path\fred.xls

What am I doing wrong please?

I cannot reproduce this.

When you debug, do you see parameter xlsname being passed to XlsExport() is effectively c:\path\fred.xls ?

I'm sorry Bruno, case of not seeing the wood for the trees.  Sorry to have troubled you.  Thank you for your prompt reply (on a Sunday evening!).