Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub test()
Dim c As Range
For Each c In Intersect(Range("A:A"), ActiveSheet.UsedRange)
If Right(c.Value, 6) = " Total" Then
c.RowHeight = 16
c.Offset(1, 0).RowHeight = 60
End If
Next c
End Sub
Sub FormatRow()
With ActiveSheet.UsedRange
c1 = .Column
c2 = c1 + .Columns.Count - 1
End With
For i = Cells(Rows.Count, "a").End(xlUp).Row To 1 Step -1
With Cells(i, "a")
If .Value Like "*Total*" Then
.EntireRow.RowHeight = .EntireRow.RowHeight * 2
With Range(Cells(.Row, c1), Cells(.Row, c2)).Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.Weight = xlThick
End With
End If
End With
Next i
End Sub