Показать сообщение отдельно
Старый 05.06.2003, 18:17   #6  
dn is offline
dn
Участник
Самостоятельные клиенты AX
 
486 / 159 (6) ++++++
Регистрация: 26.03.2003
Адрес: Москва
Вот кусок кода. Попробуй модифицировать под себя.
PHP код:
   COM msExAppmsExWBsmsExWbmsExWshmsExCellsmsExCell
    
;
    
msExApp = new COM("Excel.Application");  
    
msExApp.Visible(False);
    
msExWBs msExApp.Workbooks();
    
msExWb msExWBs.Open("C:\\\\Temp\\\\aaa.xls");
    
msExWsh msExWB.ActiveSheet();
    
msExCells msExWsh.Cells();
    
msExCells.Find("34");
    
msExApp.Visible(True);
    
msExApp.ScreenUpdating(True);
    
msExApp.detach();