BorderAround Method Of Range Object

  • BorderAround is the Method of Range Object
  • It provides the Border around the defined Range
  •  

     

    LineStyle:

  • xlcontinuous
  • xldot
  • xldouble
  • xlDash
  •  

    Weight:

  • xlHairline
  • xlthin
  • xlthick
  • xlmedium
  • Download The Workbook

     

    Sub BorderAround_Method_Of_Range_Object() Range("D3:F3").BorderAround xlContinuous, xlThick, 9 Range("D8:D12").BorderAround xlDot, xlThick, 9 Range("G9:G10").BorderAround xlDouble, xlThick, 9 End Sub