3、当运行GOTO时,才会记录地址。 Sub Test() Application.Goto Reference:=Worksheets("Sheet1").Range("A1000"), scroll:=True MsgBox Application.PreviousSelections(1).Address End Sub 4、 MSITStore:C:\Program%20Files\Microsoft%20Office\OFFICE11\2052\VBAXL10.CHM::/html/xlmthSelect1.htm#">msitstore:msohlp11.chm::/html/bluedrop.gif"/>应用于 Chart、Charts、msitstore:msohlp11.chm::/html/bluedrop.gif">Shape、ShapeRange、Sheets、Worksheet 和 Worksheets 对象的 Select 方法。 选定对象。 expression.Select(Replace) expression 必需。该表达式返回上面的对象之一。 Replace Variant 类型,可选。要替换的对象。 |