Hello,
I'm trying to modify the existing code of an application to reflect what I want to do.
Currently this part of the code add a border on the top and bottom of a cell
However I would like a border on the top only. I have tried different things without success....
Any idea?
Thanks,
I'm trying to modify the existing code of an application to reflect what I want to do.
Currently this part of the code add a border on the top and bottom of a cell
Code:
Sub ColorizeLastRow(row%, sht As Excel.Worksheet)
Call sht.Range("A" & row & ":BE" & row).BorderAround(xlDash, xlMedium, xlColorIndexAutomatic)
End Sub
However I would like a border on the top only. I have tried different things without success....
Any idea?
Thanks,
Last edited: