- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 1# modelcrazyer
¸Õ¸Õ¬Ý- Option Explicit
- Sub Ex()
- Dim xlpassWord As String
- xlpassWord = "1234" '±K½X
- With ActiveSheet '¤u§@ªí
- .Unprotect xlpassWord '¸Ñ±K
- With .Cells '©Ò¦³Àx¦s®æ
- .Locked = True 'Âê¦í
- .FormulaHidden = True 'ÁôÂÃ
- End With
- With .Columns("A:A") 'AÄæ : ¥iקï
- .Locked = False '¤£Âê¦í
- .FormulaHidden = False '¤£ÁôÂÃ
- End With
- .Protect xlpassWord, DrawingObjects:=True, Contents:=True, Scenarios:=True '«OÅ@
- .EnableSelection = xlUnlockedCells '¤u§@ªí¤W©Ò¯à¿ï¨úªº¤º®e: ¨SÂê¦íªºÀx¦s®æ
- End With
- End Sub
½Æ»s¥N½X |
|