Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何选择与当前活动单元格关联的行和第一行?
我有:
Rows(ActiveCell.Row).Select Range("1:1").Select
但是当第二个“选择”运行时,它会删除第一个选择,所以我只以第一行结束。如何同时选择两者?
谢谢!
Union(ActiveCell.EntireRow, Cells(1, 1).EntireRow).Select