Excel Select vs Activate

后端 未结 6 1774
轻奢々
轻奢々 2020-12-01 10:39

What is the difference between the VBA code wb.Sheets(1).Cells.Select and wb.Sheets(1).Activate?

6条回答
  •  清歌不尽
    2020-12-01 11:10

    Activate is often used for Sheets for Example. The Active sheet wil be shown on the screen... therfore there can only be one active sheet

    Select though is can be used for multiple Cells for Example. Range(A1:B3).Select will select multiple cell which is'nt possible with activate

提交回复
热议问题