¬°¤°»òµ{¦¡¶]¨ì¤@¥b³£·|°±¦í¤£Ä~Äò¤F?
- ©«¤l
- 49
- ¥DÃD
- 18
- ºëµØ
- 0
- ¿n¤À
- 154
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-6-16
- ³Ì«áµn¿ý
- 2024-8-5
|
¬°¤°»òµ{¦¡¶]¨ì¤@¥b³£·|°±¦í¤£Ä~Äò¤F?
³Ìªñ§Q¥Î¤@Óexcel¬¡¶Ã¯¥h¾Þ§@¨ä¥LÓ¬¡¶Ã¯
¬yµ{¬O³o¼Ë:
¶}±Ò¬¡¶Ã¯(¥Dnªºµ{¦¡) --> ÂÇ¥ÑVBA¥h¶}±Ò¥t¥~¤@Ó¬¡¶Ã¯(¦¸nªº) --> ¦b¦¸nªº¬¡¶Ã¯¤W¶i¦æ¤u§@ --> ¤u§@µ²§ô«á¦A¸õ¦^¥Dnªº¬¡¶Ã¯,¨Ã±N¦¸nªº¬¡¶Ã¯¦sÀÉÃö³¬
µ{¦¡¦³®ÉÔ·|¶]¨ì¤@¥b´N°±¦í¤F,±q¥D¬¡¶Ã¯¸õ¨ì¦¸¬¡¶Ã¯´N¬ðµM°±¦í¤£Ä~Äò¤u§@¤F,±q·s°õ¦æ«á¤S¦^´_¥¿±`,ÁöµM¤£¬O±`µo¥Í,¦ý·Q½Ð°Ý¤j®a³o¬O¤°»òì¦]©O?
ÁÂÁÂ |
|
|
|
|
|
|
¡@¼ÊºÙ: ªü¦N ¡@ÀY»Î: ¤£®¢¤U°Ý,¤£Â_¾Ç²ß,¤~·|¶i¨B
ª©¥D
- ©«¤l
- 647
- ¥DÃD
- 190
- ºëµØ
- 24
- ¿n¤À
- 1037
- ÂI¦W
- 0
- §@·~¨t²Î
- windows7
- ³nÅ骩¥»
- Office 2010 ; OOO3.0 ; Google
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¦Ë«n
- µù¥U®É¶¡
- 2010-5-2
- ³Ì«áµn¿ý
- 2022-6-24
|
¥»©«³Ì«á¥Ñ HUNGCHILIN ©ó 2010-8-14 14:25 ½s¿è
³o¬Oӫܦnªº¸ê®Æ¤ÀªR°ÝÃD
¦b¤ÀªR¤j¶q¸ê®Æªº®ÉÔ¥i¯à·|»Ýn¦¹§Þ¥©
¶}±Ò¶×¤J¥DÀÉÃö³¬ ÀÉ®×°j°é
pºâÓ§O¶×¥XÓ§OÀɦsÀÉ
¥H§Ú¦Û¤v¬°¨Ò§Ú¥H©¹¤ÀªR¦¨¥»®É
Àɮצb¨C¦¸pºâ§¹¦¨¥»«á ¥i¥H¶×¥X¦¨¥»pºâµ²ªG
¤@Ó¤ë¥i¯àºâÓ´X¸U¥ó¡A©Ò¥H¥i¯à¦³¼Æ¸UÓ¦¨¥»pºâµ²ªGÀÉ
¦pªGn§@¤ë¤ÀªR«ç¿ì¡An¥þ³¡¤@°_¶×¶ipºâÀɵM«á§@Ó§O¤ÀªR»PÁ`¦X¤ÀªR
¦¹®É¤ÀªR§@§¹¥i¥H¥ÎVBAÓ§O³æ¿W¶×¥X¼Æ¸UÓ EXCELÀÉ ·íµM§Ú§ïÅܤF.XLS ¦W
Åܬ°¨ä¥L¹³¬O.CPC µ¥
§A³o°ÝÃD¦bpºâ§¹¶×¥X¦sÀɼƸUµ§¸ê®Æªº³~¤¤
¦pªG¨Ï¥Î¤F¨ä¥Lµ{¦¡®É´N·|¥i¯à·|¥X²{
¦pªG§Aµo²{¸ê®Æ°µ¿ù«ç»ò¿ì,«·s¶×¼Æ¸Uµ§¸ê®ÆµM«á¶×¥X¼Æ¸Uµ§?
¥i¯à§@¤@¦¸³æ¾aEXCEL VBA ¦Û¤v¶]µ{¦¡
¤£ºÞ¥L³£n¨âÓ¦h¤p®É¤~¯à§¹¦¨
©Ò¥H·í¦h¸ê®Æ®É§Ṳ́£¯à¨Ï¥Î¦hÀÉ °ß¤@¸Ñ¨Mªº¿ìªk¬O
VBA¤º¥²¶·n¦³©¹ªð¥\¯à
1.¦¨¥»pºâ§¹«á¥i¥H³æ¿W¶×¥X "³æ¿Wpºâµ²ªG¥Xªí excelÀÉ" (¤]¬O¸ê®ÆÀÉ)
2.¦³¦hÓ¸ê®ÆÀɮɥi¥H¶×¾ã¦¨³æ¿W¤@Ó "¶×¾ã¸ê®ÆÀÉDATA excelÀÉ" (³o¼Ë´N¥i¥H¤£¥Î¨C¦¸n¶×¤J¼Æ¸Uµ§¸ê®Æ)
¦¹®É1³æ¿Wªº "³æ¿Wpºâµ²ªG¥Xªí" (¤]¬O¸ê®ÆÀÉ) ´N¥i¥H§R°£¤F
3.¦Ó"¶×¾ã¸ê®ÆÀÉDATA excelÀÉ" ¥i¥H¦P®Épºâ¥\¯à "»s¦¨¦hÓ¦¨¥»pºâªºµ²ªG¥Xªí excelÀÉ(¦Û¤v¤@±i¤jªí)"
4.§AYn"³æ¿Wpºâµ²ªG¥Xªí"®É¥ç¥i¥H±q"¶×¾ã¸ê®ÆÀÉDATA"Âà´«¦¨"³æ¿Wpºâµ²ªG¥Xªí"
¬G§A¥i¥H±N¼Æ¸Uµ§¤À´²¦b¼Æ¸UÓEXCELÀɪºDATA
¶°¤¤¦b¤@ÓEXCELÀɤº
¥ç¥i¥H±q³o¤@Ó¶°¤¤ÀÉ
Âà´«¦¨¼Æ¸UÓ³æ¿WªºÀÉ
¦pªG§A¯à°µ¨ì³oÂIÀ³¸Ó´N®t¤£¦h¤F
³o¼Ë¤~¯à´î¤Ö¤@¦¸Àx¦s¼Æ¸UÓÀɪº§xÂZ
n¥Î¤@ÓÀɨӸ˼ƸUÓÀɪº¸ê®Æ¡A
ÁÙ¦³§Úªº¹q¸£±`Ãa´N¬O¦]¬°pºâ«Ü½ÆÂøcpu&°O¾ÐÅé¥Î¦h
¹q¸£®e©ö¹L¼ö
§A¥Î³o¤è¦¡¨Ópºâ
¹q¸£n¦h§j¹q·®° |
|
|
|
|
|
|
- ©«¤l
- 287
- ¥DÃD
- 65
- ºëµØ
- 0
- ¿n¤À
- 357
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- OFFIC 2007
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2010-6-4
- ³Ì«áµn¿ý
- 2015-8-19
|
¦^´_ 9# sasho
¤èªk 1. ¥u¦n¤£¥Îmsn.
¤èªk 2. ¶R¥x±j«lªº¹q¸£. |
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 472
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 485
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows
- ³nÅ骩¥»
- MS Office
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »´ä
- µù¥U®É¶¡
- 2010-7-4
- ³Ì«áµn¿ý
- 2014-12-28
|
´N¦phsieh¤j©Ò»¡,
§A¥i¥H¥ý¸Õ¸Õ¥Î°»¿ù¼Ò¦¡¨Ó¶],
µo²{µ{¦¡°±¤F, ¥i¥H«öctrl+break§âµ{¦¡°±¤@¤U, ¬Ý¬Ý°±¦b¨º¸Ì.
§A¤]¥i¥H¥uµo¤@¤U¥N½X¤W¨Ó¬Ý¬Ýªº~ |
|
|
|
|
|
|
- ©«¤l
- 49
- ¥DÃD
- 18
- ºëµØ
- 0
- ¿n¤À
- 154
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-6-16
- ³Ì«áµn¿ý
- 2024-8-5
|
·PÁ¦U¦ì«e½úªº¸Ñµª..
¤£¹L§Ú·Q¤j®a¥i¯à»~·|§Úªº·N«ä¤F,§Ú¦A»¡©ú¤@¤U¦n¤F
§Ú¥Ø«e§Q¥Î¤@Óexcel·í§@¥Dµ{¦¡¥h±±¨î¨ä¥L(700¦hÓ)excel¤u§@ï
±N©Ò¦³ªºµ{¦¡½X³q³q¼g¦b¥Dµ{¦¡·í¤¤,¨ä¥Lªº¬¡¶Ã¯´N¥u¬O·í§@¸ê®Æ®w§@Àx¦s¦Ó¤w
³oÓµ{¦¡¶]°_¨Óªº®ÉÔ,¦pªG¨S¦³¥h¨Ï¥ÎMSNªº¸Ü,¬O¨S¦³°ÝÃDªº
°ÝÃD¬O,·í§Ú§âµ{¦¡¶}±Ò«á,¥á¦b®ÇÃä°õ¦æ¦Óµøµ¡«h©Ô¨ìMSN²á¤Ñªº¸Ü
¨ºµ{¦¡´N·|¶]¨ì¤@¥b´N°±¦í(°±¦í¦Ó¤w,¨Ã¨S¦³¥X²{¿ù»~°T®§)
¦Ó°±¦íªº¦a¤è´N¬O¦bÃö³¬¤W¤@Ó·í§@¸ê®Æ®wªº¬¡¶Ã¯,¶}±Ò·sªº¸ê®Æ®w¬¡¶Ã¯¤§«á
¶}±Ò¤§«á´N°±¦í¤F,¥»¨ÓÀ³¸Ó·|¦³«áÄòªº¾Þ§@,¦ý¦b³oºØ±¡ªp®É,µ{¦¡´N¤£·|Ä~Äò¶]¤F
©Ò¥H§Ú·Q,À³¸Ó¤£¬O¦Û¤v¼gªºµ{¦¡½X¦³¤°»ò°ÝÃD(¦]¬°¦pªG¤£¨Ï¥ÎMSN¥i¥H«Ü¶¶§Q¶]§¹)
¥i¥H½Ð±Ð¤j®a¬O¤°»òì¦]¶Ü?
ÁÂÁÂ
P.s Á`¦@¦³±Nªñ700MªºÀÉ®×,©Ò¥H¤£¤è«K¤W¶Ç,sorry |
|
|
|
|
|
|
- ©«¤l
- 472
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 485
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows
- ³nÅ骩¥»
- MS Office
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »´ä
- µù¥U®É¶¡
- 2010-7-4
- ³Ì«áµn¿ý
- 2014-12-28
|
¦^´_ 6# sasho
³oÓ¦³«Ü¦h¥i¯à©Ê... §A½T©w¬O³o¥y¥X°ÝÃD¶Ü? ¥i§_µo¤@¤U§¹¾ã¥N½X? |
|
|
|
|
|
|
- ©«¤l
- 49
- ¥DÃD
- 18
- ºëµØ
- 0
- ¿n¤À
- 154
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-6-16
- ³Ì«áµn¿ý
- 2024-8-5
|
¤£¦n·N«ä ¥´¿ù¤F
À³¸Ó¬O:
Workbooks.Open Filename:="C:\DATA\" & code & ".xls"
Workbooks(code & ".xls").Activate
¨ä¤¤code¬OÅܼÆ,¾ãÓµ{¦¡°õ¦æ¨Ã¤£·|¦³°ÝÃD,¦]¬°¾ãÓ¶]¤U¨Ó¨Ã¨S¦³¿ù»~µo¥Í
¥u¬O¦³®ÉÔµ{¦¡°õ¦æ«á§Ú´N§âexcel¥á¦b®ÇÃäÅý¥L¦Û¤v¶],
µM«á¥h²áMSN
¦ý¦³¥i¯à²á¤@²á´Nµo²{µ{¦¡°±¦í¤F¨S¦³Ä~Äò¶]
¦pªG¬Oµ{¦¡°õ¦æ«á´N¨S¦³°µ¨ä¥L¨Æ±¡ªº¸Ü¨º´N¤£·|µo¥Í¥H¤Wªº°ÝÃD
©Ò¥H·Q»¡,¬O¤£¬O§Q¥ÎVBA°µ¦hÓ¬¡¶Ã¯±±¨îªº®ÉÔ,·|¦³³o¼Ëªº¤pbug²£¥Í? |
|
|
|
|
|
|
- ©«¤l
- 472
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 485
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows
- ³nÅ骩¥»
- MS Office
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »´ä
- µù¥U®É¶¡
- 2010-7-4
- ³Ì«áµn¿ý
- 2014-12-28
|
¦^´_ 3# sasho
Workbooks.Open Filename:="C:\DATA\" & date & ".xls"
Workbooks(code & ".xls").Activate
ÀɦW¬O ¤é´Á+".xls" ÁÙ¬O code +".xls"
¦ôp§Anªº¬O- Workbooks.Open Filename:="C:\DATA\" & code & ".xls"
- Workbooks(code & ".xls").Activate
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 287
- ¥DÃD
- 65
- ºëµØ
- 0
- ¿n¤À
- 357
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- OFFIC 2007
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2010-6-4
- ³Ì«áµn¿ý
- 2015-8-19
|
¥»©«³Ì«á¥Ñ basarasy ©ó 2010-7-31 08:46 ½s¿è
¦^´_ 3# sasho
¸Õ¸Õ¦bcode.xls ªºA1¤J =SUBSTITUTE(LEFT(CELL("filename",A1),FIND("]",CELL("filename",A1))-1),"[","")
´N·|¦³code.xls ªºLINK
eg. C:\code.xls
Workbooks.Open Filename:="C:\code.xls"
MyCodeName= ActiveWorkbook.Name
Workbooks(MyCodeName).Activate |
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|