От: | Sheridan | ||
Дата: | 01.03.05 08:17 | ||
Оценка: |
S>public void AddSheetCopy(int SourceIndex, int PasteAferIndex)
S>{
S> GetSheet(SourceIndex).Copy(Type.Missing, _excelApp.ActiveWorkbook.Sheets[PasteAferIndex]);
S>}
S>
private Worksheet GetSheet(int Index)
{
return (Worksheet)_excelApp.ActiveWorkbook.Sheets[Index];
}