General information
Category:
COM/DCOM and OLE Automation
John..
You are a bud.... BUT....
It is clear that you did not test the code I posted. Rather, you relied on the help docs. And, while the help docs were not incorrect, they were not complete either.. You got bit in the butt on this..
Unfortuantely, many people rely on the help files...including some noteable book authors that have frequented the UT lately..< bg >.. The point is simple, you need to actually test and run the code. Many folks don't do this.. And, I know this is not representitive of your posts...
You can make the check out to Main Line Software, Inc....< bg >
>I tried the code that you posted and, you know what?, it worked!!!
>
>So I retract what I said before about your code not working. It does! Sorry!
>
>
>oExcel = Createobject("excel.application")
>oworkbook = oExcel.workbooks.add(Getfile()) && point to an xls file....
>oExcel.visible = .t.
>
>
>
>
>
>>How much money are you willing to bet.........and lose.... The fact is, if you specify and XLS file, it works just file......as well as an XLT...
>>
>>And obviously, there are some error trapping issues the user will need to deal with...
>>
>>Sorry...
>>
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only