Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel worksheets in VFP6
Message
 
To
11/01/2000 09:32:57
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00316031
Message ID:
00316141
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform