Forum Discussion

scrail2004's avatar
scrail2004
Brass Contributor
Aug 21, 2025
Solved

Excel (on Mac) Macro Highlight to the Top of a Column

Column F in the below table includes a blank cell.  In a macro, I want to highlight cells F2 to F10. Since I could have any number of rows of data, I wrote the macro to get me to the last row of dat...
  • HansVogelaar's avatar
    HansVogelaar
    Aug 22, 2025

    Change it to

    Range(Selection, Cells(1, Selection.Column)).Select

Resources