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
Paul A. Busbey
I.S. Department
Sparagowski & Associates
Paul A. Busbey
Victoria Insurance