>Hello Bruce, John, and all others involved in this thread,
>
>I just tested the following lines in VFP6.0:
>excelsheet = getObject("c:\windows\desktop\a.xls")
>excelsheet.application.visible = .t.
>
>Assuming a file a.xls already exists on my desktop, it gets the object, and makes it visible to me. From what I'm understanding in this thread, it was said that this cannot be done in VFP 6.0. Is there perhaps a different problem, or am I misunderstanding the thread? I must, however, agree that whenever possible, the createObject() is better anyways. I just wanted to voice some opposition to the notion that you CAN'T use getObject for excel in VFP 6.0
>
Hi Paul,
What version of Excel? Excel 97 and Excel 2000 behave very differently? There are also some problems regarding using FOR EACH when using VFP 6.0/Excel 2000.
George
Ubi caritas et amor, deus ibi est