亚洲免费乱码视频,日韩 欧美 国产 动漫 一区,97在线观看免费视频播国产,中文字幕亚洲图片

      1. <legend id="ppnor"></legend>

      2. 
        
        <sup id="ppnor"><input id="ppnor"></input></sup>
        <s id="ppnor"></s>

        UserAccessList 集合的功能(VBA)

        字號(hào):


            返回一個(gè) UserAccessList 集合后,便可用 Count 屬性來(lái)確定訪問(wèn)受保護(hù)區(qū)域的用戶數(shù)量。在下例中,Microsoft Excel 將訪問(wèn)第一個(gè)受保護(hù)區(qū)域的用戶的數(shù)量通知給用戶。本示例假定受保護(hù)的區(qū)域位于活動(dòng)工作表上。
            代碼如下:
            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