J
JRD
With some great help from this forum, I was able to add the followin
code:
Sub Total_Building_Damages()
Selection.Font.Bold = True
Selection.Font.Underline = xlUnderlineStyleSingle
With Selection
.HorizontalAlignment = xlRight
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = True
End With
ActiveCell.FormulaR1C1 = "Total Building Damages:"
End Sub
This works just fine. However, I would like to refine it a bit.
If I run this in A:9 for example, I would like F:9 and F:10 to b
double underlined and emboldened, without changing the formula in thos
cells. Ditto if I run it in A:11, then I would like F:11 and F:12 t
have this formatting. Any help?
Thanks for your time.
Ji
code:
Sub Total_Building_Damages()
Selection.Font.Bold = True
Selection.Font.Underline = xlUnderlineStyleSingle
With Selection
.HorizontalAlignment = xlRight
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = True
End With
ActiveCell.FormulaR1C1 = "Total Building Damages:"
End Sub
This works just fine. However, I would like to refine it a bit.
If I run this in A:9 for example, I would like F:9 and F:10 to b
double underlined and emboldened, without changing the formula in thos
cells. Ditto if I run it in A:11, then I would like F:11 and F:12 t
have this formatting. Any help?
Thanks for your time.
Ji