Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format Excel Sheet via VFP
Message
From
26/02/2003 17:45:46
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00758347
Message ID:
00758490
Views:
28
Hi Yuri,

I was able to

* Create a Template in Excel ( With all needed formatting )
* Copy Template to user selected excel file ( “Newpart.xls”)

That works fine. Now I need to open this empty “Newpart.xls” and insert data from dbf table (NewPart.dbf)

This is what I did

oExcel = CREATEOBJECT("Excel.Application")

oExcel.Workbooks.Open( “Newpart.xls”)

I just don’t know how to insert the data from NewPart.dbf ( open in current work area) to ( “Newpart.xls”) using DataToClip method. Also when I insert the data I want to start inserting from the 2nd row because first row has the formatted headings. Can you please direct me here ..

I tried everything but ended up with error messages.

Please Help !!

TIA.

- Jeana -
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform