ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

§Ó­â±Ð¾Çºô¼v­µ±Ð¾Ç--Excel 2003 VBA ¸ò§Ú¾Ç--

§Ó­â±Ð¾Çºô¼v­µ±Ð¾Ç--Excel 2003 VBA ¸ò§Ú¾Ç--

http://www.yesgood.com.tw/contents/excel2003vba.aspx


   ²Ä¤@³¹ »´»´ÃPÃP»{ÃÑExcel VBA
1-1Excel¤u§@ªí»PExcel VBA
1-1-1¬°¤°»ò»Ý­nExcel VBA
1-1-2¦p¦óµLµh­W¾Ç²ßExcel VBA
1-2»{ÃÑVisual Basic½s¿èµøµ¡
1-3ªì¾ÇªÌ¤Jªù¾É¤Þ
1-3-1¿ý¼gExcel VBA¥¨¶°
1-3-2¾\Äý¿ý»sªºµ{¦¡¤º®e
1-3-3³v¦r³v¥y¿é¤J(¼¶¼gVBA)
1-4¨Ï¥ÎExcel VBAªº°ò¥»¨BÆJ
1-5µ²§ô(Â÷¶})Excel VBA

   ²Ä¤G³¹ Excel VBA¥¨¶°ªº³]­p·§©À
2-1Excel VBAªº­«­n·§©À
2-1-1¥¨¶°»PVBAµ{§Ç
2-1-2ª«¥ó¡BÄÝ©Ê¡B¤èªk»P¨Æ¥ó
2-2µ{¦¡µ²ºc»P¤ÀÃþ
2-2-1µ{¦¡ªºµ²ºc
2-2-2µ{¦¡(µ{§Ç)Ãþ«¬
2-2-3µ{§Ç¦WºÙªº©R¦W³W«h
2-3VBAªº¸ê®ÆÃþ«¬
2-3-1¦UºØ¸ê®Æ«¬ºA
2-3-2»{ÃÑÅܼƻP±`¼Æ
2-4¼¶¼g³¯­z¦¡ªº­«­n·§©À
2-4-1³¯­z¦¡ªºÃþ«¬
2-4-2¼¶¼g³¯­z¦¡ªº§Þ¥©
2-4-3Â_¦æ¡B¦h¦æ»Pµù¸Ñªº³B²z
2-4-4²¤Æ¿ï¨ú«ü¥O
2-5¸ê®Æªº«Å§i»P¦³®Ä½d³ò
2-5-1«Å§iÅܼÆ
2-5-2«Å§i±`¼Æ
2-5-3¸ê®Æªº¦³®Ä½d³ò

   ²Ä¤T³¹ µ{¦¡ªº¬yµ{±±¨î
3-1¨Mµ¦±±¨î
3-1-1³æ¤@¿ï¾Üµ²ºc
3-1-2Âù¦V¿ï¾Üµ²ºc
3-1-3±_ª¬µ²ºc
3-1-4¦h¦V¿ï¾Ü
3-2GoTo±j¨î§ïÅܬyµ{
3-3°j°é±±¨î
3-3-1Do¡KLoop°j°é±±¨î
3-3-2For¡KNext°j°é±±¨î
3-3-3For Each¡KNext°j°é±±¨î
3-3-4¸õÂ÷°j°é±±¨î

   ²Ä¥|³¹ Excel VBA­«­n¥B±`¥Îªºµ{¦¡
4-1ExcelªºÀÉ®×(¬¡­¶Ã¯)³B²z
4-1-1¶}±ÒÀÉ®×(¬¡­¶Ã¯)
4-1-2Àx¦s»PÃö³¬ÀÉ®×
4-1-3µøµ¡Åã¥Üªº³B²z
4-2Excel¤u§@ªíªº³B²z
4-2-1¤u§@ªíªº©R¦W
4-2-2¤u§@ªíªº¿ï¨ú»PÁôÂÃ
4-2-3¤u§@ªíªº½s¿è
4-3Àx¦s®æªº°Ñ·Ó·N¸q
4-3-1µ´¹ï°Ñ·Ó»P¬Û¹ï°Ñ·Óªº·N¸q
       
4-3-2R1C1»PA1ªí¥Üªkªº·N¸q
4-3-3µ´¹ï¿ý¼g»P¬Û¹ï¿ý¼gªº·N¸q
4-4Excel VBA¤¤Àx¦s®æªº©w¸q
4-4-1¨Ï¥ÎRangeÄÝ©Ê°Ñ·Ó
4-4-2¨Ï¥ÎCellsÄÝ©Ê°Ñ·Ó
4-4-3¨Ï¥ÎOffsetÄÝ©Ê
4-5¿ï¨úÀx¦s½d³òªº§Þ¥©
4-5-1§@¥ÎÀx¦s®æªº³B²z
4-5-2¿ï¨ú¤u§@°Ï³Ì©³ºÝÀx¦s®æ
4-5-3¯S®í¿ï¨ú
4-5-4Äæ»P¦Cªº¿ï¨ú
4-5-5Union¡BIntersect»PAreas
4-6À³¥Î³nÅ骫¥óªº³B²z
4-6-1ĵ¥Ü°T®§ªº³B²z
4-6-2¨ä¥¦±`¥Îªº¥\¯à
4-7¨Æ¥óµ{§Çªº­«­nÀ³¥Î

   ²Ä¤­³¹ µ{§Ç»P¨ç¼Æ
5-1¤½¥Î»P¨p¦³
5-2Functionµ{§Ç
5-2-1¨Ï¥ÎªÌ¦Û­q¨ç¼Æ
5-2-2¨Ï¥ÎFunctionµ{§Ç
5-3¤º«Ø¨ç¼Æ
5-3-1¼Æ¾Ç¨ç¼Æ
5-3-2¦r¦ê¨ç¼Æ
5-3-3¤é´Á¨ç¼Æ
5-3-4MsgBox¨ç¼Æ
5-3-5InputBox¨ç¼Æ
5-4Propertyµ{§Ç(Äݩʵ{§Ç)
5-5µ{§Ç»Pµ{§Ç¶¡ªº©I¥s
5-5-1¦P¤@¬¡­¶Ã¯¤¤µ{§Ç©¼¦¹©I¥s
5-5-2¦b¤£¦P¬¡­¶Ã¯¤¤©I¥sµ{§Ç

   ²Ä¤»³¹ µ{¦¡(¥¨¶°)ªº°õ¦æ»P°»¿ù
6-1¥¨¶°ªº¦w¥þ©Ê³]©w
6-2«ü©w°õ¦æ¥¨¶°ªº¦ì¸m©Îª«¥ó
6-2-1±N¥¨¶°«ü©w¨ì¤u¨ã¶s
6-2-2±N¥¨¶°«ü©w¦Ü¤u§@ªíªºª«¥ó
6-3µ{¦¡(¥¨¶°)°£¿ù§Þ¥©
6-3-1µ{¦¡¿ù»~ªºÃþ«¬
6-3-2¨Æ¥ý¨¾½d--Is¨ç¼Æ
6-3-3On Error³¯­z¦¡--¸É§ì¿ù»~
6-4¶i¦æ°»¿ù¤u§@
6-4-1°õ¦æµ{¦¡ªº¤èªk
6-4-2¨Ï¥ÎºÊ¬Ý¦¡
6-5¨ä¥L°»¿ùµøµ¡
6-5-1¨Ï¥Î°Ï°ìÅܼƵøµ¡
6-5-2¨Ï¥Î§Y®É¹Bºâµøµ¡
6-5-3©I¥s°ïÅ|

   ²Ä¤C³¹ ¦b¤u§@ªí¤¤¨Ï¥ÎActiveX±±¨î¶µ
7-1±±¨î¶µª«¥ó°ò¥»»{ÃÑ
7-2¨Ï¥ÎActiveX±±¨î¶µª«¥ó
7-2-1¥[¤JActiveX±±¨î¶µª«¥ó
7-2-2³]©w±±¨î¶µª«¥óªºÄÝ©Ê
7-2-3±±¨î¶µ±`¥Îªº¦@¦PÄÝ©Ê
7-2-4¤U©Ô¦¡¤è¶ô»P²M³æ¤è¶ô
       
7-2-5®Ö¨ú¤è¶ô»P¿ï¶µ¶s
7-2-6¤å¦r¤è¶ô»P¼ÐÅÒ
7-2-7«ü¥O¶s»P¤Á´«¶s
7-2-8·L½Õ¶s»P±²¶b
7-2-9¤ë¾ä±±¨î¶µ
7-3¼¶¼g¨Æ¥óµ{§Ç
7-3-1ActiveXªº¨Æ¥óµ{§Ç
7-3-2´x±±¬¡­¶Ã¯»P¤u§@ªíªº¨Æ¥ó
7-3-3°±¤î¨Ï¥Î¨Æ¥ó
7-4½d¨Ò¹ê§@--©Ð«Î¶U´Ú
7-4-1¤u§@ºc«ä
7-4-2ÁקK¿é¤J¿ù»~
7-4-3¼¶¼g¬ÛÃöµ{¦¡½X
7-4-4«OÅ@¤u§@ªí

   ²Ä¤K³¹ ¹Ï§Î»P¹Ïªíª«¥óªº³B²z
8-1¹Ï§Îª«¥óªº³B²z
8-1-1¦b¤u§@ªí¥[¤J¹Ï§Îª«¥ó
8-1-2½s­×¹Ï§Îª«¥ó
8-2¹Ïªíª«¥óªº³B²z
8-2-1¹Ïªíª«¥óªºµ²ºc
8-2-2«Ø¥ß¹Ïªíª«¥ó
8-2-3½s­×¹Ïªíª«¥ó

   ²Ä¤E³¹ ¦Û¤v­q»s¨Ï¥ÎªÌ¤¶­±
9-1­q»s¥\¯àªí»P¤u¨ã¦C
9-1-1­q»s¤u¨ã¦C»P¥\¯àªí
9-1-2¥HVB«Ø¥ß¤u¨ã¦C©Î¥\¯àªí
9-1-3·s¼W¤u¨ã«ö¶s©Î«ü¥O
9-1-4ºÞ²z©R¥O¦C
9-2¦Û­qªí³æ(¹ï¸Ü¤è¶ô)
9-2-1«Ø¥ßªí³æ(¹ï¸Ü¤è¶ô)
9-2-2¥[¤J¼Ð¥Ü¤å¦r»P¤å¦r¤è¶ô
9-2-3®Ö¨ú¤è¶ô¡B¿ï¶µ¶s»P®Ø¬[
9-2-4¤U©Ô¦¡¤è¶ô»P²M³æ¤è¶ô
9-2-5±²¶b»P·L½Õ«ö¶s
9-2-6«Ø¥ß«ö¶s
9-3¶i¤@¨B³B²zªí³æ
9-3-1¬¡­¶¦¡ªí³æ
9-3-2½Æ¦X­¶ªí³æ
9-3-3¿ï¨ú½d³òª«¥ó
9-3-4©w¦ì¶¶§Ç
9-3-5ÁôÂûPÅã¥Üª«¥ó
9-3-6³]©wªì©l­È»P¶Ç¦^¿é¤J­È
9-4¨Ï¥ÎExcel¤º«Ø¹ï¸Ü¤è¶ô

   ²Ä¤Q³¹ ¹ê¨Òºt½m
10-1¨Ï¥ÎUseForm»s§@¨BÆJºëÆF
10-1-1³]­pªí³æ¤º®e
10-1-2¼¶¼gºëÆFªí³æµ{¦¡½X
10-1-3¼¶¼g¥Dµ{§Ç
10-2¼W¯q¶°(Add-In)ªº¶}µo»P¨Ï¥Î
10-2-1¼W¯q¶°°ò¥»·§©À
10-2-2¨Ï¥ÎExcel¤º«Øªº¼W¯q¶°
10-2-3¦Û¤v¶}µo¼W¯q¶°(Add-In)
10-2-4¨Ï¥Î¦Û¤v¶}µoªº¼W¯q¶°
10-3À³¥Î¨ä¥L³nÅé
10-3-1±Ò°Ê¨ä¥¦À³¥Î³nÅé
10-3-2¨ä¥¦±`¥ÎªºÀ³¥Îµ{¦¡ª«¥ó
       

GoodTV         ¤÷¿Ëªº·R

        ÀR«ä¦Û¦b : «H¤ß¡B¼Ý¤O¡B«i®ð¤TªÌ¨ã³Æ¡A«h¤Ñ¤U¨S¦³°µ¤£¦¨ªº¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD