
For example:
Sheet1.Range("B3:G4").BorderAround LineStyle:=XlLineStyle.xlContinuous, Weight:=XlBorderWeight.xlMedium, Color:=RGB(255, 0, 0)
See:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello!
I've used Cell Styles to create a border, but I only want the formatted border to apply to the outside of a group of cells - not the inside.
The effect is what I have created here manually - is there any way of doing it? It is for a rolling roster which is on a 3-weekly repeat so I'm wishing to create a 'look' for each week.
For example:
Sheet1.Range("B3:G4").BorderAround LineStyle:=XlLineStyle.xlContinuous, Weight:=XlBorderWeight.xlMedium, Color:=RGB(255, 0, 0)
See:
Hi,
To add an outside border, click on the Borders Icon.
Then under Draw Borders, click on Line Style and choose a color.
You can then draw your border around whichever cells you want to.
Best Regards.