Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating an XL file from VFP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00467391
Message ID:
00467796
Views:
12
Erik, thank you for your reply.
This had given me a good start and I am making progress.

Regards,

Gerard



>Check Help for OLE Automation. Basically, you can create an object that is an XL application. It is probably good to use a property to hold it, IOW...
>
>
>this.ExcObj = CreateObject("EXCEL.APPLICATION")
>if type('this.ExcObj') <> 'O'
>     && There are differing opinions on the best way to test
>     && an object.
>endif
>
>with this.ExcObj
>	.Application.Visible = .F.
>	.Application.DisplayAlerts = .F.
>	.Workbooks.Add
>endwith
>
>
>And so on and so forth as it were...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform