Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
as an aswer to a previous question I've received the following code:
Dim c, sh For Each sh In ThisWorkbook.Sheets If sh.Name < "Main_Sheet_Name_Here" Then For Each c In sh.UsedRange If Not c.HasFormula Then c.ClearContents Next c End If Next sh this works fine. The only problem being that row 1 shouldn't be deleted as it is the header. How can I do that? thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
lookup using column headers and row headers | Excel Discussion (Misc queries) | |||
Deleting Headers and Footers that are in the drop down Menu? | Excel Discussion (Misc queries) | |||
deleting values in a worksheet without deleting the formulas | Excel Worksheet Functions | |||
how prevent formula in cell from deleting when deleting value???? | New Users to Excel | |||
Deleting Hyphens or Dashes from multiple cells without deleting the remaining content | Excel Programming |