>>>VBAXL9.CHM looks like it will work for me.
>>>
>>>But I'm having a hard time just getting it started. As a test I tried the following:
>>>
>>>oExcel = createobject("Excel.application")
>>>oExcel.workbooks.open('C:\TEST\STOCK UPDATE.xls')
>>>
>>>But I get nothing...Any ideas?
>>>
>>>Many Thanks!
>>
>>Marvin,
>>
>>Have you set the Visible property to .T.?
>
>Yup, that was it Thanks!
Marvin,
Besides vbaxl9.chm recording macros in Excel is a good way to "capture" code. However it's VBA code and you should do slight modifications.
Nearly every other day there is some Excel or other OLE Automation code on UT. Check some of them for a quick start. Some of the threads :
"Word Document options" - 25th Jan, 2000
"VBA for Excel graph" - 4th Feb, 2000
"Excel Pivot tables" - 28th Jan, 2000
For modifications I suggest you to do as much as possible (e.g. changing a range of cells value based on some string manipulation) on VFP side. Excel VBA code runs awfully slow.
Cetin