152
vVarCell.OleProcedure("Merge");
vBorder(vVarCell,2,1,55);
vVarCell.OlePropertySet("Value", "Номер:");
vVarCell=vVarSheet.OlePropertyGet("Value ","B1");
vVarCell.OleProcedure("Merge");
vBorder(vVarCell,2,1,55);
vVarCell.OlePropertySet("Value", "Приход");
vVarCell=vVarSheet.OlePropertyGet("Value ","А1");
vVarCell.OleProcedure("Merge");
vBorder(vVarCell,2,1,55);
vVarCell.OlePropertySet("Value", "Расход");
vVarCell=vVarSheet.OlePropertyGet("Value ","B1");
vVarCell.OleProcedure("Merge");
vBorder(vVarCell,2,1,55);
vVarSheet=vVarSheets.OlePropertyGet("Item",2);
vVarSheet.OleProcedure("Activate");
for (int i=2; i < 11; i++)
{
vVarCell=vVarSheet.OlePropertyGet("Cells").
OlePropertyGet("Item",1,2);
vBorder(vVarCell,2,1,55);
vVarCell.OlePropertySet("Value",tDate);
vVarCell=vVarSheet.OlePropertyGet("Cells").
OlePropertyGet("Item",2,i);
vBorder(vVarCell,2,1,55);
vVarCell.OlePropertySet("Value", tMatlico);
vVarCell=vVarSheet.OlePropertyGet("Cells").
OlePropertyGet("Item",3, tName);
vBorder(vVarCell,2,1,55);
vVarCell=vVarSheet.OlePropertyGet("Cells").
OlePropertyGet("Item",1,2);
vBorder(vVarCell,2,1,55);
vVarCell.OlePropertySet("Value",tNum);
vVarCell.OlePropertySet("Value",tPrih);
vVarCell=vVarSheet.OlePropertyGet("Cells").