- ©«¤l
- 406
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 453
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOWS 7
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2015-2-7
- ³Ì«áµn¿ý
- 2021-7-31
|
¥»©«³Ì«á¥Ñ n7822123 ©ó 2020-6-19 02:01 ½s¿è
¦^´_ 1# yc1031
»Ý¨D1:
1. µµ¦â¦r¸Ìªº"0 + 16" ³oÓ¬O¤°»ò·N«ä©O?
Msgbox ¥Îªkªº Button°Ñ¼ÆÈ~~~ 16 = "Åã¥Ü Critical Message ¹Ï¥Ü" (0¥i¥H¬Ù²¤)
½Ð°Ñ¦Ò¤U¹Ï·L³n»¡©ú
¥i¥H²V¦X·f°t¤£¦P§Î¦¡¡A¤ñ¦p»¡1+16+256+16384
256 ¥Nªí²Ä2Ó«ö¶s¬O¹w³]È¡Aª½±µ«ö¤UEnter¡A´N¬O«ö¤U²Ä2Ó«ö¶s(¥H¦¹¨Ò¨Ó»¡·|¬O"¨ú®ø")
¥H¤Uµ{¦¡§A¥i¥H°õ¦æ¬Ý¬Ý¡A´N·|À´¤F
¦@¦³16Ó¤£¦PªºMsgbox µøµ¡
Sub PlayMsgbox()
Arr = Array(1, 2, 3, 4)
Brr = Array(16, 32, 48, 64)
For A = 0 To UBound(Arr): For B = 0 To UBound(Brr)
n = n + 1
MsgBox "Test-" & n, Arr(A) + Brr(B)
Next: Next
End Sub
¤]³\¤U±ªºµ{¦¡§A¤ñ¸û¬Ý±oÀ´¡A¨âªÌ¬O¤@¼Ëªº
Sub PlayMsgbox2()
n = n + 1: MsgBox "Test-" & n, 1 + 16
n = n + 1: MsgBox "Test-" & n, 2 + 16
n = n + 1: MsgBox "Test-" & n, 3 + 16
n = n + 1: MsgBox "Test-" & n, 4 + 16
n = n + 1: MsgBox "Test-" & n, 1 + 32
n = n + 1: MsgBox "Test-" & n, 2 + 32
n = n + 1: MsgBox "Test-" & n, 3 + 32
n = n + 1: MsgBox "Test-" & n, 4 + 32
n = n + 1: MsgBox "Test-" & n, 1 + 48
n = n + 1: MsgBox "Test-" & n, 2 + 48
n = n + 1: MsgBox "Test-" & n, 3 + 48
n = n + 1: MsgBox "Test-" & n, 4 + 48
n = n + 1: MsgBox "Test-" & n, 1 + 64
n = n + 1: MsgBox "Test-" & n, 2 + 64
n = n + 1: MsgBox "Test-" & n, 3 + 64
n = n + 1: MsgBox "Test-" & n, 4 + 64
End Sub
»Ý¨D2:
2. ¦bCOPY¨ìdSht , ì©lªºCODE¬O".Range("B2:B" & y).Copy MySht.[C2]", ¦ý¶K¨ìCÄæ®É, ¸ÓÄæ¦ìªº®æ½u³£·|³Q§R±¼, ³oÓn«ç»ò§ï©O?
* §Ú¬O§ï¥Î
dSht.Range("B2:B" & y).Copy
MySht.Range("C2:J1000").PasteSpecial Paste:=xlPasteValues
¦³¦¨¥\, ¥u¬O·Qª¾¹D¦bì©lªº.Range("B2:B" & y).Copy MySht.[C2] <---- ¦b³oÓCODE¤Un«ç»ò¼g, ¥u¶K¤JÈ´N¦n, ¤£n°Ê¨ì®æ¦¡
¥i¥H§ï¦¨
MySht.[C2].Resize(y - 1) =.Range("B2:B" & y).Value |
|