Why do you need to do substituion here? It should work without it.
oExcel = createobject('Excel.Application')
With oExcel.Workbooks.Open(SOURCE_FILE)
>hello,
> I am having problem with the following command with micro substitution. Could anyone help me out??
>
> oExcel = createobject('Excel.Application')
> With oExcel.Workbooks.Open(&SOURCE_FILE)
>
>It works find if I substitute "&source_file" with getfile() to open the file everything works. thanks.
>sherry
- Jayesh