📜  excel vba 使单元格可见 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:55.763000             🧑  作者: Mango

代码示例1
' First be sure to activate the sheet
Worksheets("Sheet1").Activate
' Then simply activate the Cell:
Range("B3").Activate
' Scroll
Application.Goto Activecell, True
' Or (5Th line will be the first displayed on top):
ActiveWindow.ScrollRow = 5