µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
Excelµ{¦¡°Ï
» ¦p¦ó¸Ñ¨MExcel VBA§ä¤£¨ì³]©w¤Þ¥Îªº¶µ¥Ø¤¤ªº¤¸¥ó
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
[µo°Ý]
¦p¦ó¸Ñ¨MExcel VBA§ä¤£¨ì³]©w¤Þ¥Îªº¶µ¥Ø¤¤ªº¤¸¥ó
7777
µoµu®ø®§
¥[¬°¦n¤Í
7777
·í«eÂ÷½u
UID
1520
©«¤l
125
¥DÃD
33
ºëµØ
0
¿n¤À
223
ª÷¿ú
223
ÂI¦W
0
§@·~¨t²Î
XP
³nÅ骩¥»
Excel 2003
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
¥x¥_¥«
¦b½u®É¶¡
344 ¤p®É
µù¥U®É¶¡
2010-9-6
³Ì«áµn¿ý
2024-6-8
¤¤¾Ç¥Í
©«¤l
125
¥DÃD
33
ºëµØ
0
¿n¤À
223
ÂI¦W
0
§@·~¨t²Î
XP
³nÅ骩¥»
Excel 2003
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
¥x¥_¥«
µù¥U®É¶¡
2010-9-6
³Ì«áµn¿ý
2024-6-8
1
#
¸õÂà¨ì
»
˧Ǭݩ«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2021-7-1 11:16
|
¥u¬Ý¸Ó§@ªÌ
[µo°Ý]
¦p¦ó¸Ñ¨MExcel VBA§ä¤£¨ì³]©w¤Þ¥Îªº¶µ¥Ø¤¤ªº¤¸¥ó
¦p¦ó¸Ñ¨MExcel VBA§ä¤£¨ì³]©w¤Þ¥Îªº¶µ¥Ø¤¤ªº¤¸¥ó
¤@¯ë
³]©w¤Þ¥Îªº¶µ¥Ø¤¤ªº¤¸¥ó
¤j³£ ¥H
*.olb *.tlb *.dll ªºÀɮפ¸¥ó
°ÝÃD¬O
»Ýn¥Î¨ì *.exe ªºÀɮפ¸¥ó ®É
µ{¦¡ ¤@¥¹ ¤¤Â_ Â÷¶}«á(«±Ò)
Excelªº
³]©w¤Þ¥Îªº¶µ¥Ø¤¤ªº¤¸¥ó
´NµLªk°õ¦æ (¥X²{ ¿ù»~) ¤¸¥ó¨S¦³ ¥X²{¿òº|
¥u¯à («±Ò) Excel
«·s °»´ú ¥Î *.exe ªºÀɮפ¸¥ó
¦p¦ó¥i¥H (¤£«±Ò) Excel ¤U
«·s ©I¥s ¥Î *.exe ªºÀɮפ¸¥ó
¥i¥H ¦p¦ó¸Ñ¨M¦¹¤@°ÝÃD ·PÁÂ~~
¼Ó¥D¼ö©«
§Ú§Æ±æ ¥i¥H ±NA1 ¯à¤¶©ó 100 ¨ì~ -100¤§
¦p¦ó¹B¥Î UserFormªí³æ¤è¦¡¿é¥X¦Üexcelªº¤u
¦h«¹Bºâ»P°}¦C~~°ÝÃD
[ªí³æ]¤u¨ã¦C¸Ìªº "®Ö¨ú¤è¶ô" «ö¶s¡A¯à§_½Æ
½Ð°Ý¤U¸ü¤U¨Óªººô¶¸ê®Æ¡A¦p¦ó¥i¥H¼g¦¨ «Å§i
¦p¦ó¯à¥Î®É¶¡8:42 ¨ÓIJµo°_°Ê¡A²M°£Àx¦s®æ¤º
½Ð±Ð ¦³Â²¤Æ SUMIF ªº¨ç¼Æ¤èªk¡ã§_
"¨t²Î¸ê·½¤£¨¬ µLªk§¹¾ãÅã¥Ü" ·í¤F¡A°O¾ÐÅé
½Ð±Ð~¦p¦ó§ìºô¶ ªº¤å¦rÀÉ¦Ü excel ¤º
±N¸ê®Æ½Æ»s¨ì¡ã ¥t¤@ÓexcelÀɤ¤¡A¦p¦óÃö³¬
¦¬ÂÃ
¤À¨É
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
singo1232001
µoµu®ø®§
¥[¬°¦n¤Í
singo1232001
(¼öª¯¼y)
·í«eÂ÷½u
UID
27224
©«¤l
354
¥DÃD
5
ºëµØ
0
¿n¤À
387
ª÷¿ú
387
ÂI¦W
0
§@·~¨t²Î
windows7
³nÅ骩¥»
vba,vb,excel2007
¾\ŪÅv
20
©Ê§O
¨k
¦b½u®É¶¡
527 ¤p®É
µù¥U®É¶¡
2017-1-8
³Ì«áµn¿ý
2024-8-2
¡@¼ÊºÙ:
¼öª¯¼y
¤¤¾Ç¥Í
©«¤l
354
¥DÃD
5
ºëµØ
0
¿n¤À
387
ÂI¦W
0
§@·~¨t²Î
windows7
³nÅ骩¥»
vba,vb,excel2007
¾\ŪÅv
20
©Ê§O
¨k
µù¥U®É¶¡
2017-1-8
³Ì«áµn¿ý
2024-8-2
2
#
µoªí©ó 2021-7-1 21:53
|
¥u¬Ý¸Ó§@ªÌ
¥»©«³Ì«á¥Ñ singo1232001 ©ó 2021-7-1 21:56 ½s¿è
¦^´_
1#
7777
https://blog.gtwang.org/programming/excel-vba-debug-error-handling/2/
§Ú¦b²q §Anªº·|¤£·|¬O³oÓ
on error goto ErrorHandler
...
...
xxx <°»´ú¨ì¿ù»~ ´N·|ª½¸õ¶}
...
...
ErrorHandler: ·|¦Û°Ê¸õ¨ì³oÓ³¡¤À
set xx = nothing
exit sub
³o¼Ë´N¯à°{¹L¿ù»~ ¦ý¤]¤£¤@©w¯à¦¨¥\¡@¥i¥H¥ý¸Õ¸Õ¬Ý
TOP
7777
µoµu®ø®§
¥[¬°¦n¤Í
7777
·í«eÂ÷½u
UID
1520
©«¤l
125
¥DÃD
33
ºëµØ
0
¿n¤À
223
ª÷¿ú
223
ÂI¦W
0
§@·~¨t²Î
XP
³nÅ骩¥»
Excel 2003
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
¥x¥_¥«
¦b½u®É¶¡
344 ¤p®É
µù¥U®É¶¡
2010-9-6
³Ì«áµn¿ý
2024-6-8
¤¤¾Ç¥Í
©«¤l
125
¥DÃD
33
ºëµØ
0
¿n¤À
223
ÂI¦W
0
§@·~¨t²Î
XP
³nÅ骩¥»
Excel 2003
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
¥x¥_¥«
µù¥U®É¶¡
2010-9-6
³Ì«áµn¿ý
2024-6-8
3
#
µoªí©ó 2021-7-1 23:20
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
2#
singo1232001
¤Þ¥Î
https://www.mrexcel.com/board/threads/use-vba-to-install-excel-reference.590567/
With Workbook.reference
.AddFromFile "¥Î *.exe ªºÀɮפ¸¥ó ¸ô®|"
End With
«·s©¿¥s«á...´N¤£¥Î («±Ò)
¤è¦¡¸Ñ¨M
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
TOP
ÀR«ä¦Û¦b :
§g¤l¥ß«í§Ó¡A¤p¤H«í¥ß§Ó¡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¯»µ·