Hi julio,
By default, the impExcel X-Function will rename the workbook with the file name. So, you can get the file name from the workbook name. For example:
// file to import
fname$ = system.path.program$ + "Samples\Automation Server\Excel\Analysis Template.xls";
// import file
impExcel;
// get the workbook name
string strName$ = page.name$;
// output the string variable
strName$ = ;
Penn