Good morning,
I used
oleapp=createobject("Excel.Application"
oleapp.visible=.T.
oleapp.workbooks.open("c:\my.xls"
oleapp.visible=.T.
This works o.k. , it opens the workbook with sheet1.
What is the code,so that it opens for instance with sheet2
Thank in advance for your help.
Gunter
I used
oleapp=createobject("Excel.Application"
oleapp.visible=.T.
oleapp.workbooks.open("c:\my.xls"
oleapp.visible=.T.
This works o.k. , it opens the workbook with sheet1.
What is the code,so that it opens for instance with sheet2
Thank in advance for your help.
Gunter