Excel Select vs Activate

后端 未结 6 1768
轻奢々
轻奢々 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:20

    Select - "Selects" Cell(s)

    Activate - "Activates" a sheet (kind of like saying to focus on a sheet)

    Sometimes u need to specifically ACTIVATE the sheet, in order to make a SELECT

提交回复
热议问题