Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am trying to clear the row data keeping formatting in tact and unfortunately the code below doesnt work. I tried using Clear contents menthod as well as clear notes and it is of no use. Can anyone please tell me how to delete the data keeping row formatting in tact? ws.Rows.get_Range("A1", "Z" + (dss.Tables[0].Rows.Count).ToString()).ClearContents(); or Excel.Range rj; rj = ws.Rows.get_Range("A1", "Z" + (dss.Tables[0].Rows.Count).ToString()); rj.ClearContents(); Thanks and Regards, Santhosh Kumar.P |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Clearing contents from a range | Excel Programming | |||
Clearing the Contents of a range of cells | Excel Programming | |||
Clearing Values in a Range under certain conditions | Excel Programming | |||
need some help clearing a range | Excel Programming | |||
Clearing a Range | Excel Programming |