>This code works in VFP6 but not VFP9. VFP9 does not load macro other than XLSTART directory. How can I fix this problem?
>
>Thanks, Tai Fei Pao
>
>tmpsheet = GetObject(sys(5)+sys(2003)+'\iedmsdata.xls','excel.sheet')
>XLApp = tmpsheet.application
>XLApp.RUN("IEDMSDATA.XLS!SAMProject")
>XLApp.Visible = .T.
WHat is the error message? And on what line.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.