hola, alguien me puede orientar para poder borrar la informacion de una hoja de excel, incluido encabezados pero que no borre el color ni estilo, ni tampoco formulas en las celdas…
intente con (imagen adjunta)
Try this,
Open the Excel file using the “Excel Process Scope” and “Use Excel File” activities. Use the “Invoke VBA” activity and insert the following VBA code(change accordingly):
Sub ClearSheetData()
Dim ws As Worksheet
Set ws = ActiveSheet
ws.Cells.ClearContents
End Sub