Вы находитесь на странице: 1из 2

&

()
(" Microsoft Excel...");
Excel(.);

&
Excel(, Excel = 1)
xlLastCell = 11;
= ();
.()
(" !");
;
;

Excel = COM("Excel.Application");
Excel.WorkBooks.Open();
Excel = Excel.Sheets(Excel);

(". Excel.");
;
;
ActiveCell = Excel.ActiveCell.SpecialCells(xlLastCell);
RowCount = ActiveCell.Row;
ColumnCount = ActiveCell.Column;
= ;
= ;
= ();
= ;
.();
.((""));
= (, , );
Column = 1 ColumnCount

..(""+(Column),,""+(Column));
;
Row = 1 RowCount
.();
= [Row-1];
Column = 1 ColumnCount

.(Column-
1,(Excel.Cells(Row,Column).Text));

(ROW);
;
;
;
= .("");
<>
.();
= ;
.("");
(,);
;
= ;
.( ("",
(""), "", ""));
.
.( (.,
., "", .));
;
();
= .("", (""),);
. = "";
. = .;
.. = ;
. = ;
. = ("Arial", 8,);
.
= .("_" + .,
(""), );
. = .;
. = "." + .;
;
(,"");
Excel.WorkBooks.Close();
Excel = 0;

// ()

&
(, )
= .;
= ();
. = "";
= ("ru = ''; en = 'Table'")
+ "(*.xls)|*.xls";
. = ;
. = ;
. = " ";
.()
. = .;
;