cDestFile = "\\server\share\excelout.xls" copy to (eval(cDestFile)) type xl5 &&breaks copy to &cDestFile type xl5 &&works