By using vba.booksticle.com you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

948 Steps to 6 Figures by Learning Excel-VBA and Other Skills



Step 181 - AddBorders


Using the Macro Recorder create a subroutine called AddBorders that will add borders to whatever is selected.

Explain
  • Selection
  • With
  • Borders - collection
  • Properties
    • Linestyle
    • ColorIndex
    • TintAndShade
    • Weight

  •    Table of Contents | Send us your feedback | © 2025 All Rights Reserved | Edit