0

I need to format only the last row in a pre-selected area.

I have for example this code for selecting row number 2

Set PH = Range(Cells(Selection.Row + 1, Selection.Column), Cells(Selection.Row + 1, (Selection.Column + Selection.Columns.Count) - 1))

The remaining rows in the selection can be different from time to time, why I need a dynamic code to set only the last row in the selection.

Can anyone help with this?

Damian
  • 5,152
  • 1
  • 10
  • 21
Pernille
  • 23
  • 3

0 Answers0