Hi Baran,

I think this code helps you.

    COM         comRows,
                comWorkSheet,
                comRow;
    COMVariant  comRowVariant;
    int _row;
    ;

    comRows       = comWorkSheet.rows();
    comRowVariant = comRows.item(_row);
    comRow        = COM::createFromVariant(comRowVariant);
    comRow.delete();



--- In [EMAIL PROTECTED], Baran Sasmaz
<[EMAIL PROTECTED]> wrote:
> Hi everybody,

> Is there anyone who knows to delete an excel row by giving the
index of the row.

> Ex :

> SysExcelSheet Worksheet;
> SysExcelRange Row2;

> Row2 = Worksheet.Rows().Item(2);
> Row2.delete();             
>                 
> ------------------------------------ There isn't a delete() method
for ------------------------------------------------------------------
--------------- "SysExcelRange" Class --------------------------------
---------------------

>
>            
> ---------------------------------
> Do you Yahoo!?
> Friends.  Fun. Try the all-new Yahoo! Messenger
>
> [Non-text portions of this message have been removed]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to