- ©«¤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# wenxiao - Option Explicit
- Public MyCheak() As New Class1
- Private Sub Auto_Open() 'Module1ªºµ{¦¡½X,Àɮ׶}±Ò®É¦Û°Ê°õ¦æªºµ{§Ç
- Dim E As OLEObject, i As Integer
- With Sheet1
- For Each E In .OLEObjects
- If E.progID = "Forms.CheckBox.1" Then
- ReDim Preserve MyCheak(0 To i)
- Set MyCheak(i).WorkCheck = E.Object
- i = i + 1
- End If
- Next
- End With
- End Sub
½Æ»s¥N½X ª«¥óÃþ§O¼Ò²Õ- Option Explicit
- Public WithEvents WorkCheck As MSForms.CheckBox
- Private Sub WorkCheck_Click()
- 'WorkCheck ¦³¤Ä¿ï ¶Ç¦^True ,¨S¤Ä¿ï ¶Ç¦^ Fales
- WorkCheck.Parent.TextBox1 = IIf(WorkCheck, WorkCheck.Caption, "")
- End Sub
½Æ»s¥N½X
|
|