- ©«¤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
|
¦^´_ 3# dechiuan999
Property Get ³¯z¦¡, Property Let ³¯z¦¡,Property Set ³¯z¦¡ §A¥i¸Ô¬ÝVBAªº»¡©ú
¦bª«¥óÃþ§O¨Æ¥ó¤@¯ëªº¨Ï¥Î¤è¦¡
1 ª«¥óÃþ§O¼Ò²Õ¤¤ Public WithEvents MySh As Worksheet ³]¬°¥~³¡¥iŪ¨úªºª«¥óÅܼÆ
MySh ¦bª«¥óÃþ§O¼Ò²Õ¤¤ ·|¦³ª«¥ó¨Æ¥ó¥i¨Ï¥Î ¦p¹Ï:
2 Dim GetSh As New MyClass -> ¦bª«¥ó¸Ì«Å§i¤@ÅÜ¼Æ ¬°·sªºª«¥óÃþ§O¼Ò²Õ
Set GetSh.MySh = Sheet1 ±NÃþ§O¼Ò²Õªºª«¥óGetShÅÜ¼Æ «ü©w¬° Sheet1
¦pÒæ¥ó ªºPrivate Sub CommandButton1_Click()
½Ð¬ÝªþÀÉ
Re-dechiuan999.rar (13.15 KB)
|
|