EXCEL: Deleting cell range (multiple sheets)
Closed
Moltenmagma
-
20 Aug 2009 à 12:06
venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 - 20 Aug 2009 à 21:03
venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 - 20 Aug 2009 à 21:03
Related:
- EXCEL: Deleting cell range (multiple sheets)
- Excel mod apk for pc - Download - Spreadsheets
- Vat calculation excel - Guide
- Kernel for excel repair - Download - Backup and recovery
- Excel clear formatting - Guide
- Arrow keys not working in excel - Guide
1 response
venkat1926
Posts
1863
Registration date
Sunday 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
20 Aug 2009 à 21:03
20 Aug 2009 à 21:03
try this macro
I have chosen range("a1:F!").modify this line to suit you
"clearcontents" will clear contents only but not the formulas and formats
i
Sub test()
Dim j As Integer, k As Integer
j = Sheets.Count
For k = 1 To j
With Sheets(k)
.Range("a1:F1").Clear
End With
Next k
End Sub
I have chosen range("a1:F!").modify this line to suit you
"clearcontents" will clear contents only but not the formulas and formats
i