|
hajo_old
Germany
141 Posts |
Posted - 01/24/2003 : 08:22:30 AM
|
Hello, all
here's my next problem I don't com along with ...
I want to read in an excel file by the following code (which works so far ...)
void openXlsWorksheet() { string strPath; StringArray saFiletypes; saFiletypes.SetSize( 3 ); saFiletypes[0]="[Excel (*.xls)] *.xls"; strPath = GetOpenBox( saFiletypes ); Worksheet wks; wks.Open(strPath); }
BUT .... when I open the excel file by calling wks.Open() a dialog pops up, to choose whether the file should be imported as native excel-worksheet or converted to Origin-Worksheet.
Is there a possibility to give the option how to open the file e.g. OPEN_AS_XLS_WORKBOOK or OPEN_AS_ORIGIN_WORKBOOK within the function call
Or is there an other sollution suppressing the dialog and read the excel file in as origin workbook?
Thanks for your hints an probably sollutions...
HJ Koch SVDO_Origin1
Edited by - SVDO_Origin1 on 01/29/2003 09:41:16 AM |
|