Magoosball
Board Regular
- Joined
- Jun 4, 2017
- Messages
- 70
- Office Version
- 365
I have a list of headers in row 13. I am trying to find the header titled "Revenue" and sort in descending order.
What am I doing wrong?
Thank you in advance
Code:
lCol = WorksheetFunction.Match("Revenue", Rows("13:13"), 0)
Rows("13").Sort key1:=lCol, Header:=xlYes
What am I doing wrong?
Thank you in advance