Limpiar celdas de excel

hola, buenas tardes.
hay alguna forma de limpiar las celdas de excel, por rango…
lo estoy haciendo con write cell y escribo “” pero se demora demasiado!
necesito su ayuda
gracias

Hey @mively
If you want to clear a range of cells in Excel, instead of using “Write Cell” repeatedly, try using the “Clear Range” activity — it’s much faster.

Hi @mively,
If you want to clear a specific range in Excel:

Use the “Clear Range” activity from the UiPath.Excel.Activities package.

Set the range (e.g., “A2:A100”) to clear multiple cells at once.

Regards,
Arivu


como seria para seleccionar un rango de esa hoja… por ejemplo de la A hasta la G

@mively

Give Excel.sheet("Sheetname").Range("A:G")

Cheers

1 Like

@mively
Excel.Sheet(“Guias por Facturar”).Range(“A:G”)

se puede borrar, pero sin borrar los formatos de las celdas ?

@mively

Ideally it would clear the data only

Cheers

entieendo, sabes como darle formato a las columnas? sin hacer click en el mismo excel?

@mively

What do you mean by format columsn and clicking?

Cheers

nop, necesito que algunas columas sean formato numero por ejemplo, ya que al momento de copiar y pegar, pierde el formato

@mively

Please use this activity

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.