dpaton05
Well-known Member
- Joined
- Aug 14, 2018
- Messages
- 2,352
- Office Version
- 365
- 2016
- Platform
- Windows
I need to sort data based on column A, which is the date. Row 3 is a header column with the data starting in row 4.
This is the code I have but it sorts the heading with the data.
What did I do wrong with it?
This is the code I have but it sorts the heading with the data.
VBA Code:
Range("A3", Range("O" & Rows.Count).End(xlDown).Address).Sort Key1:=Range("A3"), Order1:=xlAscending
What did I do wrong with it?