Hi anyone,
The following code inserts continuous lines to the bottom of row 16 & thin lines to the bottom of the row 18 from columns C to J.
How could I modify the code so that it inserts a continous line to the bottom of any row where it contains bold text in column C and the remaining rows a thin line starting from column C to column J.
Any help on this would be kindly appreciated.
Thanks in advance.
The following code inserts continuous lines to the bottom of row 16 & thin lines to the bottom of the row 18 from columns C to J.
Code:
Sub InsertLine()
Range("C16:J16").Borders(xlEdgeBottom).LineStyle = xlContinuous
Range("C18:C18").Borders(xlEdgeBottom).LineStyle = xlThin
End Sub
How could I modify the code so that it inserts a continous line to the bottom of any row where it contains bold text in column C and the remaining rows a thin line starting from column C to column J.
Any help on this would be kindly appreciated.
Thanks in advance.