I've been using it for a while. It's pretty easy to use and he's got some good 
samples in his docs. I primarily use it for exporting a table/cursor to Excel. 
I have not used any of the reading from Excel methods yet. One caveat is it is 
not the fasting thing in the world once you start getting into tables with 
thousands of rows.

--

rk
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Kevin J 
Cully
Sent: Friday, February 17, 2017 2:14 PM
To: [email protected]
Subject: RE: Copy Excel worksheet to another workbook

I hadn't seen anyone mention this, but this class library may be helpful.  Greg 
Greene was attempting to manipulate XLSX files without the need for Excel at 
all.

https://vfpx.codeplex.com/wikipage?title=XLSXWorkbook&referringTitle=Home


-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Paul Newton
Sent: Thursday, February 16, 2017 11:48 AM
To: [email protected]
Subject: Copy Excel worksheet to another workbook

Hi all

I want to use automation to copy the active worksheet into another workbook (as 
an additional worksheet) I believe I need something like this ActiveSheet.Copy 
After:=Workbooks("YourWorkbookName.xls"). Sheets("Sheet3") But I can't find how 
to send the correct way to do it in VFP

o = CreateObject("Excel.Application")
o.Visible = .t.
o.Workbooks.Open("C:\O32\OperaNext\Opera32\DEMODATA\SQSLACL.XLS")
o.ActiveSheet.Copy(What to put here?)

Any help would be much appreciated

Paul Newton


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/bn4pr10mb09137df8ae8c15779e592204d2...@bn4pr10mb0913.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to