µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
Excelµ{¦¡°Ï
» EXCEL VBA¨D¤@¤¸¤G¦¸¤èµ{¦¡ (¤£¥Î¤½¦¡¸Ñ)(3)
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
[µo°Ý]
EXCEL VBA¨D¤@¤¸¤G¦¸¤èµ{¦¡ (¤£¥Î¤½¦¡¸Ñ)(3)
´Ë³¥
µoµu®ø®§
¥[¬°¦n¤Í
´Ë³¥
·í«eÂ÷½u
UID
38583
©«¤l
8
¥DÃD
6
ºëµØ
0
¿n¤À
27
ª÷¿ú
27
ÂI¦W
0
§@·~¨t²Î
WIN10
³nÅ骩¥»
Office 2016
¾\ŪÅv
10
¦b½u®É¶¡
9 ¤p®É
µù¥U®É¶¡
2021-10-18
³Ì«áµn¿ý
2021-12-22
¤p¾Ç¥Í
©«¤l
8
¥DÃD
6
ºëµØ
0
¿n¤À
27
ÂI¦W
0
§@·~¨t²Î
WIN10
³nÅ骩¥»
Office 2016
¾\ŪÅv
10
µù¥U®É¶¡
2021-10-18
³Ì«áµn¿ý
2021-12-22
1
#
¸õÂà¨ì
»
¥¿§Ç¬Ý©«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2021-10-29 10:13
|
¥u¬Ý¸Ó§@ªÌ
[µo°Ý]
EXCEL VBA¨D¤@¤¸¤G¦¸¤èµ{¦¡ (¤£¥Î¤½¦¡¸Ñ)(3)
EXCE
,
VBA
,
EXCEL
º¥ý·PÁÂAndy2483¤ÎML089 ¼ö¨Ç¸Ñµª ¦]¬°§ÚªºEXCEL VBA¨D¤@¤¸¤G¦¸¤èµ{¦¡ (¤£¥Î¤½¦¡¸Ñ)(2)³Q²¾¥h EXCELµ{¦¡°Ï ¤p¾Ç¥Í¨S¦³¿ìªk¦b¨ºµªÂШâ¦ì«e½ú
¹ï©óAndy2483«e½ú ÁÙ¦³¤@¨Ç°ÝÃD·Q½Ð±Ð
1.888¸ò999 ¬O¦Û¤v©w¸qªº¦ì¸m¶Ü¡A¬O«üÀH¾÷ªº¦ì¸m³£¥i¥H¶Ü
2. P = Y0 * Y1
'¡õ¹B¥Î¤G¦¸¨ç¼Æ¦bYÈ=0«eªºt¼Æ»PYÈ=0«áªº¥¿¼Æ¼¿n¬Ot¼Æ
If P < 0 Then
³o¸Ì¬°¤°»òn°²³]¨âÓ¤èµ{¦¡¬Û¼¡A¨ÃÅý¤èµ{¦¡¨âӸѬۼªºP<0 ¡A¹B¥Î¤G¦¸¨ç¼Æ¦bYÈ=0«eªºt¼Æ»PYÈ=0«áªº¥¿¼Æ¼¿n¬Ot¼Æ¡A³oÓÁÙ¬O¦³ÂI¤£¤ÓÀ´
¹ï©óML089«e½ú¡A¤]¦³¤@¨Ç°ÝÃD½Ð±Ð
1.¬O§_¥i¥H¤£³]©w¦¹¶µ¡A Sheets.Add.Name = Format(Now(), "dd_hhmmss")¡A§Ú¥´³o¶µ¶i¥hEXCEL VBA ·|¸õ¥X¤@Ó·sªº¤u§@ªí
2.Array¬O°}¦C¡AResize(, 3)¬O¤°»ò·N«ä
3.¬°¬Æ»ònWhile x <= x2 (X¬°¤°»ò<=X2
4. Cells(r, c1).Resize(, 3) = Array(x, x + s, f(x)) 'Debug ¥Î¡A¦pªG¤£³]©w¦¹¶µ¡A¦n¹³¤]¥i¥H¹B¦æ¡A³]©w¦¹¶µªº¥Øªº¬O¬Æ»ò
5.¦pªGn³]©w¶}©lªº®ÉÔ¤å¦r¥X²{¦b¤u§@ªí¤W¡A«ö°±¤îªº®ÉÔ¤å¦r´N®ø¥¢¡An¦p¦ó§ïµ{¦¡½X¡A¦]¬°§Ú±a¤J«e½úªºµ{¦¡½X
¡A¦n¹³¦A¤@¦¸°õ¦æ¡A¤å¦r³£·|¤@ª½¦b¤u§@ªí¤W¡A¤£·|®ø¥¢
¼Ó¥D¼ö©«
EXCEL VBA¨D¤@¤¸¤G¦¸¤èµ{¦¡ (¤£¥Î¤½¦¡¸Ñ)(2
¨DPDF ^½¤¤±ÀÂ˵{¦¡©Î³nÅé
EXCEL VBA¨D¤@¤¸¤G¦¸¤èµ{¦¡ (¤£¥Î¤½¦¡¸Ñ)
EXCEL §¤¼Ð¶b°ÝÃD
¦¬ÂÃ
¤À¨É
´Ë³¥
µoµu®ø®§
¥[¬°¦n¤Í
´Ë³¥
·í«eÂ÷½u
UID
38583
©«¤l
8
¥DÃD
6
ºëµØ
0
¿n¤À
27
ª÷¿ú
27
ÂI¦W
0
§@·~¨t²Î
WIN10
³nÅ骩¥»
Office 2016
¾\ŪÅv
10
¦b½u®É¶¡
9 ¤p®É
µù¥U®É¶¡
2021-10-18
³Ì«áµn¿ý
2021-12-22
¤p¾Ç¥Í
©«¤l
8
¥DÃD
6
ºëµØ
0
¿n¤À
27
ÂI¦W
0
§@·~¨t²Î
WIN10
³nÅ骩¥»
Office 2016
¾\ŪÅv
10
µù¥U®É¶¡
2021-10-18
³Ì«áµn¿ý
2021-12-22
3
#
µoªí©ó 2021-10-29 15:41
|
¥u¬Ý¸Ó§@ªÌ
¦^´_ 2# ML089
·PÁ«e½ú¦^µª
¨ü¯q¨}¦h
TOP
ML089
µoµu®ø®§
¥[¬°¦n¤Í
ML089
·í«eÂ÷½u
UID
3671
©«¤l
2025
¥DÃD
13
ºëµØ
0
¿n¤À
2053
ª÷¿ú
2053
ÂI¦W
0
§@·~¨t²Î
WIN7
³nÅ骩¥»
Office2007
¾\ŪÅv
100
©Ê§O
¨k
¨Ó¦Û
¥x¥_¥«
¦b½u®É¶¡
2405 ¤p®É
µù¥U®É¶¡
2011-3-2
³Ì«áµn¿ý
2024-3-14
ª©¥D
©«¤l
2025
¥DÃD
13
ºëµØ
0
¿n¤À
2053
ÂI¦W
0
§@·~¨t²Î
WIN7
³nÅ骩¥»
Office2007
¾\ŪÅv
100
©Ê§O
¨k
¨Ó¦Û
¥x¥_¥«
µù¥U®É¶¡
2011-3-2
³Ì«áµn¿ý
2024-3-14
2
#
µoªí©ó 2021-10-29 10:41
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
1#
´Ë³¥
¦³¤@¨Ç°ÝÃD½Ð±Ð
1.¬O§_¥i¥H¤£³]©w¦¹¶µ¡A Sheets.Add.Name = Format(Now(), "dd_hhmmss")¡A§Ú¥´³o¶µ¶i¥hEXCEL VBA ·|¸õ¥X¤@Ó·sªº¤u§@ªí
¦^ÂСG¥i¤£¥Î¦¹¦æ¡A³o¬O´ú¸Õ¥Î¡A¨C¦¸¼W¥[·s¤u§@ªí¡A¥H§Q©M¤W¦¸°õ¦æ¤ñ¸û¡A§Ú«á±¦³¤@Ó§R°£Á{®É¤u§@ªíªºµ{¦¡¥i¥H¨Ï¥Î
2.Array¬O°}¦C¡AResize(, 3)¬O¤°»ò·N«ä
¦^ÂСG¤ô¥¤è¦V¼W¥[3®æ°}¦CªÅ¶¡
3.¬°¬Æ»ònWhile x <= x2 (X¬°¤°»ò<=X2
³o¬O³]©w¥Ñ X1 ¤@ª½¶]¨ì X2¡AY§A¤w¸gª¾¹D°Ï¶¡¡A¥i¥H³]¤p¤@ÂI
4. Cells(r, c1).Resize(, 3) = Array(x, x + s, f(x)) 'Debug ¥Î¡A¦pªG¤£³]©w¦¹¶µ¡A¦n¹³¤]¥i¥H¹B¦æ¡A³]©w¦¹¶µªº¥Øªº¬O¬Æ»ò
¦¹¦æ´N DEBUG¥Î¡AÅã¥Ü¥X¦b¤u§@ªí¤W¡A¤ñ¸û¦nDEBUGµ{¦¡³]©w
5.¦pªGn³]©w¶}©lªº®ÉÔ¤å¦r¥X²{¦b¤u§@ªí¤W¡A«ö°±¤îªº®ÉÔ¤å¦r´N®ø¥¢¡An¦p¦ó§ïµ{¦¡½X¡A¦]¬°§Ú±a¤J«e½úªºµ{¦¡½X
¡A¦n¹³¦A¤@¦¸°õ¦æ¡A¤å¦r³£·|¤@ª½¦b¤u§@ªí¤W¡A¤£·|®ø¥¢
¦^ÂСG³o´N¤ñ¸ûÃø¦^µª
§Ú¨ºµ{¦¡«Ü¤£Ã©w¡An¬Ý¤èµ{¦¡«¬ºA½Õ¾ã¤@¨Ç°Ñ¼Æ(¤À³Î¤j¤p¡B°_©lÈ¡A°Ï¶¡)¡A
³o¥u¬O¦nª±¸Õ·Q¬Ý¬Ý¹q¸£¬O§_¥i¥H¥Î ¤@¬q¤@¬q¤À³Î¤è¦¡§¹¦¨¸Ñµª¡C
{...} ªí¥Ü»Ýn¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡
TOP
ÀR«ä¦Û¦b :
¥¬¬I¦p¼½ºØ¡A¥HÅw³ß¤ß´þ¼íºØ¤l¡A¤~·|µoªÞ¡C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·