亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

UserAccessList 集合的功能(VBA)

 更新時(shí)間:2009年07月15日 20:18:13   作者:  
可用 ProtectedRange 對(duì)象的 Users 屬性返回一個(gè) UserAccessList 集合。
返回一個(gè) UserAccessList 集合后,便可用 Count 屬性來(lái)確定訪(fǎng)問(wèn)受保護(hù)區(qū)域的用戶(hù)數(shù)量。在下例中,Microsoft Excel 將訪(fǎng)問(wèn)第一個(gè)受保護(hù)區(qū)域的用戶(hù)的數(shù)量通知給用戶(hù)。本示例假定受保護(hù)的區(qū)域位于活動(dòng)工作表上。
復(fù)制代碼 代碼如下:

Sub UseDeleteAll()
Dim wksSheet As Worksheet
Set wksSheet = Application.ActiveSheet
' Notify the user the number of users that can access the protected range.
MsgBox wksSheet.Protection.AllowEditRanges(1).Users.Count
End Sub

相關(guān)文章

最新評(píng)論