Sub selectAll()
' ActiveSheet 选中当前活动的Sheet
' Cells 单元格对象
' Select 选中
' 选中全部单元格
ActiveSheet.Cells.Select
' 选中指定单元格
ActiveSheet.Range("A1:B3").Select
Selection.NumberFormatLocal = "@"
End Sub
标签:VBA,Sub,Cells,单元格,ActiveSheet,选中,EXCL,Select
来源: https://www.cnblogs.com/wjl-de-java/p/15670250.html