- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 62
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2025-3-13
               
|
¦^´_ 6# 317 - Private Sub CommandButton1_Click()
- Me.Unprotect 12345 '¨ú®ø«OÅ@
- Cells.Locked = False 'Àx¦s®æ¨ú®øÂê©w
- If Application.CountA(Range("G3:AK100")) > 0 Then Range("G3:AK100").SpecialCells(xlCellTypeConstants).Locked = True '«DªÅ®æÂê©w
- Me.Protect 12345 '«OÅ@¤u§@ªí
- End Sub
- Private Sub CommandButton2_Click()
- Me.Unprotect 12345 '¨ú®ø«OÅ@
- If Not Intersect(Range("G3:AK100"), Selection) Is Nothing Then Selection.ClearContents
- Cells.Locked = False 'Àx¦s®æ¨ú®øÂê©w
- If Application.CountA(Range("G3:AK100")) > 0 Then Range("G3:AK100").SpecialCells(xlCellTypeConstants).Locked = True '«DªÅ®æÂê©w
- Me.Protect 12345 '«OÅ@¤u§@ªí
- End Sub
½Æ»s¥N½X |
|