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:
00467622
Views:
13
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...
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform