VBA Excel sort range by specific column

后端 未结 3 436
名媛妹妹
名媛妹妹 2020-11-30 02:26

I have a table that can contain any number of rows:

\"enter

As I said it can c

3条回答
  •  失恋的感觉
    2020-11-30 02:45

    Or this:

    Range("A2", Range("D" & Rows.Count).End(xlUp).Address).Sort Key1:=[b3], _
        Order1:=xlAscending, Header:=xlYes
    

提交回复
热议问题