¾i¦¨ ©Ò¦³ÅܼƳ£»Ýn ¨Æ¥ý©w¸qªº ¦n²ßºD
- ©«¤l
- 145
- ¥DÃD
- 45
- ºëµØ
- 0
- ¿n¤À
- 190
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 7
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_¥«
- µù¥U®É¶¡
- 2013-10-18
- ³Ì«áµn¿ý
- 2014-3-29
|
¾i¦¨ ©Ò¦³ÅܼƳ£»Ýn ¨Æ¥ý©w¸qªº ¦n²ßºD
Option Explicit
' ¤W±ªº ³o¤@¦æ¡A¥²¶·Â\¦b ©Ò¦³°Æµ{¦¡ªº¥~±
Sub test1026()
Dim a As Integer
a = 10 + 3
MsgBox a
End Sub |
|
¤Ñ¤U¬°¤½
|
|
|
|
|
- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
|
|
|
|
|
|
- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¥»©«³Ì«á¥Ñ c_c_lai ©ó 2013-10-24 08:16 ½s¿è
¦^´_ 2# sunnyso
¦^´_ 1# sjgau
ÅܼƬO¥Î¨ÓÅýµ{¦¡¼È¦s¸ê®Æªº, ÅܼƤ¤©Ò¦sªº¸ê®Æ´N¥s°µÅܼƪº¡uÈ¡v,
ÅܼƪºÈ¥i¥H¬O¦r¦ê¡B¼Æ¦r¡B¥¬ªLÈ...µ¥¸ê®Æ¡C
¦b¨Ï¥ÎÅܼƮÉ,¥²¶·nª`·NÅܼƪº¦³®Ä½d³ò, §_«h¥i¯à³y¦¨µ{¦¡¹B§@µ²ªG¿ù»~¡C
¦b«á´Á¥X²{ªº¤@¨Ç°ª¶¥µ{¦¡»y¨¥¤¤¤£»Ýn¨Æ¥ý«Å§i¤]¥i¥Hª½±µ¨Ï¥ÎÅܼơC
¨Æ¥ý«Å§iÅܼƪº·N«ä¬O«ü, Ä´¦p¥H Variant «ü¥O§i¶D VBA, µ{¦¡«Ý·|¨à»Ýn¨Ï¥Î³oÓ¦WºÙªºÅܼÆ,
½Ð¹q¸£¦b¤@¶}©l°õ¦æµ{¦¡®É´N¬°¸ÓÅܼƫO¯d¤@¨Ç°O¾ÐÅéªÅ¶¡¡C
Y¬O¨S¦³¨Æ¥ý«Å§i, «h VBA·|¦b¸ÓÅܼƲĤ@¦¸¥X²{®É, ¤~¨Ì»Ýn¤À°t°O¾ÐÅéªÅ¶¡µ¹¥¦¡C
P.S. Variant ¬O¤@ºØ¯S®íªº¸ê®Æ«¬ºA¡A¬O©Ò¦³¨S³Q©ú½T«Å§i¬°¨ä¥L«¬ºA
(¥Î¦p Dim¡BPrivate¡BPublic ©Î Static ªº³¯z¦¡)¤§Åܼƪº¸ê®Æ«¬ºA¡C
±z¥i¥H¥Î Variant ¸ê®Æ«¬ºA¨Ó¨ú¥N¥ô¦óªº¸ê®Æ«¬ºA¡A¥H§ó¦³¼u©Êªº¤è¦¡¨Ó¹Bºâ¡C
¦pªG Variant Åܼƪº¤º®e¬O¼Æ¦r¡A¥¦¥i¥H¥Î¦r¦ê¨Óªí¥Ü¼Æ¦r©Î¬O¥Î¥¦¹ê»ÚªºÈ¨Óªí¥Ü¡A
¥Ñ¤º®e¨Ó¨M©w¡C(¦¹¬q P.S. «YºK¿ý¦Û Excel (Help) »¡©ú)
«Å§iÅܼƻP«ü©wÅܼÆÈ
¤£¹L¦³¸gÅ窺µ{¦¡³]p®v³£·|«Øij§A¦b¨Ï¥ÎÅܼƫe¥ý¦æ«Å§i,
³o¼Ë¤@¤è±¥i¥H½T»{Åܼƪº¦³®Ä½d³ò , ÁקKµ{¦¡¿ù»~¡F
¥t¤@¤è±, ¾i¦¨³o¼Ëªº¦n²ßºD, ¹ï©ó¤é«á¾Ç²ß¨ä¥¦³W©w§óÄY®æªºµ{¦¡»y¨¥®É·|«Ü¦³À°§U
(³\¦hµ{¦¡»y¨¥¦p CBasic¡BJava ¡BC/C++¡BCOBOL¡BPascal...µ¥¦b¨Ï¥ÎÅܼƮɥ²¶·¨Æ¥ý«Å§i)¡C
Option Explicit ¤§³¯¶D§Y¦b¼Ò²Õ¼h¦¸¤¤±j¢¨CÓ¦b¼Ò²ÕùتºÅܼƳ£¥²¶·©ú½Tªº«Å§i¡C
·í¦b¼Ò²Õ¤¤¨Ï¥Î®É¡A¥²¶·¥H Dim¡A Private¡BPublic¡BReDim ©Î Static ³¯z¦¡¨Ó©ú½T«Å§i©Ò¦³ªºÅܼơC
¦pªG¨Ï¥Î¥¼«Å§iªºÅܼƦWºÙ¡A«h¦b½sĶ¶¥¬q®É¡A·|µo¥Í¿ù»~¡C
¦pªG¥¼¨Ï¥Î Option Explicit ³¯z¦¡¡A«h©Ò¦³¥¼«Å§iªºÅܼƳ£¬O Variant «¬ºA¡A
°£«D¹w³]ªº«¬ºA¥t¥H Deftype ³¯z¦¡©Ò«ü©w¹L¡C
ªþµù Option Explicit ¥iÁקK¥´¿ùÅܼƦWºÙ©Î¦b¦³®Ä½d³ò¤º¬Û¦PªºÅܼƦWºÙ¡C
(¦¹¬q Option Explicit ¤§³¯¶D«YºK¿ý¦Û Excel (Help) »¡©ú)
³Ì«á§Æ±æ¤j®a©ó¼¶¼gµ{¦¡®É¡A¯à¾i¦¨©Ò¦³¨Ï¥ÎÅܼƳ£»Ýn¨Æ¥ý©w¸qªº¦n²ßºD¡C |
|
|
|
|
|
|
- ©«¤l
- 605
- ¥DÃD
- 92
- ºëµØ
- 0
- ¿n¤À
- 648
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 7
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- macau
- µù¥U®É¶¡
- 2013-4-5
- ³Ì«áµn¿ý
- 2019-2-10
|
¦^´_ 1# sjgau
½Ð°Ý¹ïµ{¦¡¹B¦æ®Ä²v¦³¦n³B¶Ü?
¨ä¥L¦n³B?
ÁÂÁÂ |
|
ss
|
|
|
|
|