Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exporting to an Excel template file
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01032719
Message ID:
01033435
Views:
19
Hi Cecil,
You can have look at my rep2excel tools here in downloads
Download#14800
It is made exactly for this kind of things.

It is basically automated Excel OLE automation, letting you manipulate excel file as 3d array. So writing excel comes as easy as ;
.
oXL.make_cell(i,j,k,'Hello')
oXL.table_in_section(i,j,k,'MyAlias',cScanForClause)
oXL.array_in_section(i,j,k,@MyArray)
oXL.draw_box(nTop,nLeft,nDown,nRight)
.
etc
Hope it helps you do your thing.

Rgds++
Sergio



>I forgot to mention that this will be written in VFP 6.0, since the machine we are putting this prgoram on is a Windows 95 machine. So, I had to eliminate the LOCAL ox1 AS "Excel.Application" and use only LOCAL ox1. Then that presents a problem when I use oExcel.Visible = .T.
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform