[Excel VBA]該怎麼判斷使用者選取了整行?

Private Sub Worksheet_SelectionChange(ByVal target As Range)
Application.EnableEvents = False
If Selection.Columns.Count >= 16384 Then

End If
Application.EnableEvents = True
End Sub

這是我目前在用的,可覺得怪怪的。有沒有更有效率的判斷方式
2018-03-23 16:00 發佈
文章關鍵字 Excel VBA 使用者
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?