Steve,
Use a 'named expression'
copy to (cDestFile) type xl5
HTH
Barbara
>I have a little code that looks like this:
>
>cDestFile = "\\server\share\excelout.xls"
>copy to (eval(cDestFile)) type xl5
>copy to &cDestFile type xl5
>
>What's the best way to do that without having to do macro sub?
>
>Thanks.