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

±Ï§U!°õ¦æ¶¥¬q¿ù»~ "1004",½Ð¤º¬Ý ·PÁ¤F!

±Ï§U!°õ¦æ¶¥¬q¿ù»~ "1004",½Ð¤º¬Ý ·PÁ¤F!

¥»©«³Ì«á¥Ñ icestormerss ©ó 2011-8-13 14:57 ½s¿è

¥Ñ©ó»Ý­n ±N¤u§@ªí ½Æ»s ¦ýµo²{¦b½Æ»s¨ì¦¸¼Æ¤j¬ù5¨ì2 30¦¸®É(¤j³£¦b20¦¸¥ª¥k)´N·|²£¥Í¤@­Ó¿ù»~

¿ù»~:°õ¦æ¶¥¬q¿ù»~ "1004": class worksheetªºcopy¤èªk¥¢±Ñ

¤@¶}©l§Ú¥H¬°¬O§Ú¼g¿ù.µM«áµo²{¦n¹³¤£¬O §Ú´N¦n©_ªº¹êÅç.¥u­n§Úªº¤u§@ªí(­n½Æ»sªº)¤º®e¶V¦h(¹³¦³¤ñ¸û¹Ï)¦³®É¤j¬ù10¦¸¤§¤º´N·|¥X²{¿ù»~

ÀHªÌ§Ú§â¤u§@ªí¤º®e¶V²ºë¥¦¥X¿ùªº¦¸¼Æ´N¶V«á­±(§¹¥þªÅ¥Õªº¤u§@ªí§Ú¸Õ¹L¨ì600¦¸³£ÁÙ¤£·|¥X¿ù..)

µM¦Ó,¥u­n¥X¤F¿ù»~,§Ú­«¶}EXCEL«á,¿ù»~¤£¨£¤F,¦A­«¦æ°õ¦æµ{¦¡«á°ÝÃD¤@¼Ë¦s¦b,¥u¬O·|µo¥Í¿ù»~ªº¦¸¼Æ,¥i¯à¤SÅÜ°Ê(¤]³\­è¤~²Ä10¦¸¥X¿ù,³o¦¸´«20¦¸)


¤£ª¾¦³¨S¦³°ª¤â¯àÀ°§Ú¸Ñ¨M³o°ÝÃD?

§Ú¥u¬O·Q³æ¯Âªº½Æ»s¤u§@ªí¨ì³Ì«á¤@­Ó¦ì¸m¥h

­ì¥»¼gªº¬O
shtcount =worksheets.count
worksheets(1).copy after:=worksheets(shtcount)

-------------------------------------------------------------------------------------

¥»©«³Ì«á¥Ñ icestormerss ©ó 2011-8-14 12:07 ½s¿è

M­è¤~§Ú³æ¯Â¦b¤u§@ªí¤W¥u¦³¤@­ÓWEB¬d¸ß³sµ²®É§Ú¥h°õ¦æµ{¦¡ µ²ªG­n¨ì25X¤~·|¥X¿ù
¿ù»~:
°õ¦æ¶¥¬q¿ù»~ 1004:
¬OÀ³¥Îµ{¦¡©Îª«¥ó©w¸q¤Wªº¿ù»~
½Ð°Ý³o¬O¤°»ò°ÝÃD(¤]¬O¥Î­è¤~¤W¶ÇªºÀɶ]ªº)¥u¬O§ï¦¨¦¸¼Æ300

­èµo²{¤@¨Ç·sªº°ÝÃD §Ú¥h¸Õ¬Ý¬Ý..·PÁÂOOBIRD¤j ªá®É¶¡À°§Ú§r!

TOP

Sub Macro2()
For i = 1 To 200
    Sheets("Sheet1").Copy After:=Sheets(Sheets.Count)
   ActiveShee ...
oobird µoªí©ó 2011-8-14 11:31



   -_-!!..Ãø¤£¦¨¬O§Ú¥D¾÷¤£°÷¤O?©Ç¤F §Ú¥Î¤WÀYªº¶]ªk «Ü§Ö´N¥X°ÝÃD¤F»¡

TOP

Sub Macro2()
For i = 1 To 200
    Sheets("Sheet1").Copy After:=Sheets(Sheets.Count)
   ActiveSheet.Name = "w" & i
   Next
End Sub
§Ú³o¼Ë200¦¸¤]¨S°ÝÃD§r¡H

TOP

¥»©«³Ì«á¥Ñ icestormerss ©ó 2011-8-14 11:09 ½s¿è
ÁÙ¬O¨S»¡¨ì­«ÂI
¦p§Asheet1ªºa5¬O2317¡A§A¥Î¥ô¦ó¤èªkcopy¡A¨C­Ó·sªºªí¤W³£¬O2317¡A¤£¥i¯à§ïÅܦ¨§Oªº¡C
¦Ó ...
oobird µoªí©ó 2011-8-14 10:32


SORRY §Ñ¤FªþÀÉ §Ú¦A§Ë¤@¦¸
ªÑ²¼¥N½X§ó·s1.rar (7.79 KB) <<³o¬O®Ú¾ÚOOBIRD¤jªº´£¨Ñªºµ{¦¡½X°õ¦æªº

¦bSHEET1ªºB1¬O°Ñ¼Æ¨Ó·½®æ(WEB ¬d¸ß¥\¯à)
¥u­n¼Æ¦rÅܰʦb¥k¤UªºE8(¥kÀ»¥i¥H¥´¶}°Ñ¼Æ>¥HSHEET1!$B$1®æ¬°°Ñ¼Æ­È¨Ó·½)·|¾ã­Ó¦Û°Ê§ó·s

µM¦Ó ¦pªG¬O±Ä¥Îworksheets(1).copy after:worksheets(worksheets.count)¤è¦¡
·íSHEET1ªºB1¼Æ¦rÅÜ°Ê¥u·|§ó·sSHEET1¤WªºE8
·íW1ªºB1¼Æ¦rÅܰʤ]¥u·|§ó·sW1¤WªºE8

¨Ï¥ÎPASTE¤è¦¡ªº°µªk ¤]³£·|¦³WEB¬d¸ß
¥u¬OÅܦ¨W1¤u§@ªíªºE8¤]¬O³sµ²¨ìSHEET1ªºB1(¦ý§Ú»Ý­nªº¬O³sµ²¦bW1¤WªºB1)


¦Ó¥B¥Î¥¨¶°ªº¤è¦¡¨Sªk¿ý¨ì¤â°Ê§ï°Ñ¼Æ¨Ó·½®æ,§Ú¤]¤£ª¾¯à¤£¯à³z¹LVBA§ï¼g

¦A¦¸·PÁ§A¼·®É¶¡¦^ÂÐ^&^

TOP

ÁÙ¬O¨S»¡¨ì­«ÂI
¦p§Asheet1ªºa5¬O2317¡A§A¥Î¥ô¦ó¤èªkcopy¡A¨C­Ó·sªºªí¤W³£¬O2317¡A¤£¥i¯à§ïÅܦ¨§Oªº¡C
¦Ó§AÂIÀ»a5®É·|¦Û°Ê§ó·s¡A³o¬OWorksheet_SelectionChange¨Æ¥ó¡A§A­n¶K¤W¨Ó§O¤H¤~¦³¥i¯àÀ°§A§ïªº¡C

TOP

¦^´_ 15# icestormerss


¬Q±ßªá´X¤p®É¦b¨º¬d¬Ý¬Ýºô¸ô¸ê®Æ¤Î´ú¸Õ
µo²{¯uªº¦n¹³³£¬O©T©w¦¸¼Æ´N·|¥X¿ù
½Æ»s«e±i¼Æ--½Æ»s¤¤¥X¿ùªº±i¼Æ
2---------------105
3---------------103
4---------------102
5----------------99   
6----------------99   
7----------------98   
8----------------96   
9----------------95   
10---------------93   
¥t¥~§Úµo²{ ¦pªG¥Îªº¬O :
worksheets(1).copy
´Nºâ¬O¨ì¤F200±iworkbooks¤]¤£·|¥X¿ù©O..

µM«á§Ú´N·Q¨ì.¤£µM.¥ý¥Îworksheets(1).copy «á¦A¥Î MOVEªº¤èªk²¾¦^¨Ó,µ²ªG¿ù»~´«¦¨104:MOVE ¤è¦¡¥¢±Ñ..(¤j¬ù¬O100±i)

§Ú¦b·Q·|¤£·|¬O¹ï©ó¦b¤@©w®É¶¡¤º(¥´¶}-Ãö³¬EXCEL)¼g¤J¦P¤@workbook ¤ºªº¦³¦¸¼Æ­­¨î? ¤£µM¬°¤°»ò ¥Îworksheets(1).copy ¨ì200¤]¤£·|¥X¿ù?

¥t¥~OOBIRD¤jªºµ{¦¡½X²{¦b³£«Ü¶¶§Q¥i¥H°õ¦æ.¦ýÁÙ¬O¥d¦b¦P¤@­Ó°ÝÃD WEB¬d¸ßªº°Ñ¼Æ³sµ²®æ ¨Sªk³s¦b¦Û¤v¤u§@ªí¤W»¡ ¤£ª¾¦³¤H¦³ªk¤l¶Ü??
(­ì¥»¬O·Q»¡¤£µM´N½Æ»s¹L¥h«á¦A¥Îµ{¦¡¥h§ï¥Lªº³sµ².¦ýµo²{(§Ú¥ý¥Î¥¨¶°¿ý)®Ú¥»¿ý¤£¨ì,§Ú¤]§¹¥þ¤£ª¾«ç¤U¤â¼g)

TOP

¥»©«³Ì«á¥Ñ icestormerss ©ó 2011-8-13 21:33 ½s¿è
¬Ý¤£À´¡C¦pªG¥N½X¬O¦bA5¿é¤J(¿é¤J«á«ö¤UENTER,¶i¦æ§ó·s)~³o¬qµ{¦¡¦b­þ¸Ì¡H§AÀ³¸Ó­×§ï³o¬qµ{¦¡§r¡C
oobird µoªí©ó 2011-8-13 21:17



³o¼Ë»¡¦n¤F ¦pªGA5®æ §Ú¿é¤J2374 ¥¿±`¨Ó»¡ WEB¬d¸ß·|¦Û°Ê§ó·s(³o§Ú¦³³]¦n¤F)
«ö¥H«e§Úª½±µ¥ÎCOPY¹L¥h«á ·sªº¤u§@ªí¤WªºWEB¬d¸ß³sµ²·|¦Û°Ê³sµ²¦b·sªº¤u§@ªí¤WªºA5 ¦Ó¤£¬O¦b­ì¥»(SHEET1)¤WªºA5

´«¨¥¤§.¥H«e§Ú¥ÎCOPY¦b½Æ»s«á ¤G­Ó¤u§@ªí¦U¦Û¦³¦U¦ÛªºWEB ¬d¸ß¥\¯à
(¦bSHEET1¤WªºA5¿é¤J¼Æ¦r¥u·|§ó·sSHEET1ªº,¦bW1¤WªºA5¿é¤J¼Æ¦r¤]¥u·|§ó·sW1ªº)
¦ý²{¦bÓý·|Åܦ¨ W1¤Wªº³sµ²¨ìSHEET1¤WªºA5(·íSHEET1¤WªºA5®æ¼Æ¦rÅܰʮɤG±i¤u§@ªí·|¤@°_§ó·s¨ì¦P¤@®a¤½¥q¤W)

·íµM³o³¡¥÷¥i¥H¤â°Ê§ï,¤£¹LWEB¬d¸ß¤£¤î¤@­Ó ¦pªG¨C¤@­ÓCOPY¹L¥hªº³£­n¤@­Ó¤@­ÓWEB ¬d¸ß§ï¥¦ ,´N³Â·Ð¤F»¡

¤£ª¾§Ú³o¼Ë»¡ ·|¤£·|»¡¤£©ú¥Õ©O^^

§Ú­è¤~¸ÕªÌ¥Î¥¨¿ý¬Ý¯à¤£¯à¿ý¨ì¤â°ÊÂIÀ» [WEB¬d¸ß°Ï]>°Ñ¼Æ¤W ¥H¤U¦CÀx¦s®æ°µ¬°°Ñ¼Æ­È¨Ó·½
µ²ªG®Ú¥»¿ý¤£¨ì»¡~~

http://jinnsblog.blogspot.com/2008/10/excel-query-dynamically-update-data.html <<¦Û°Ê§ó·sªºWEB ¬d¸ß §Ú¬O¬Ý³o¸Ì¾Çªº

TOP

¬Ý¤£À´¡C¦pªG¥N½X¬O¦bA5¿é¤J(¿é¤J«á«ö¤UENTER,¶i¦æ§ó·s)~³o¬qµ{¦¡¦b­þ¸Ì¡H§AÀ³¸Ó­×§ï³o¬qµ{¦¡§r¡C

TOP

¥»©«³Ì«á¥Ñ icestormerss ©ó 2011-8-13 21:18 ½s¿è

¦^´_ 12# oobird


¦³¤F¥i¥H³s¦PWEB¬d¸ß¥\¯à³£COPY¹L¥h¤F.¤£¹L..¥X²{1­Ó·s°ÝÃD(­ì¥»¥t¤@­Ó°ÝÃD¦n¤F)


1:¦pªG¥N½X¬O¦bA5¿é¤J(¿é¤J«á«ö¤UENTER,¶i¦æ§ó·s)
­èCOPY¹L¥hªº¤u§@ªíÁöµM¤]¦³WEB¬d¸ß¥\¯à¦b¦ýÓý¤£¬O³sµ²¦b¦P¤@¤u§@ªí¤ºªºA5¦Ó¬O³sµ²¦bSHEET1¤¤ªºA5®æ


:¦¬¦^²Ä¤G­Ó°ÝÃD ,¦A§Ú¦sÀÉ«á­«¶} ¥i¥H¥¿±`¦Û°Ê«ö¥Ø¼Ð®æ(A5)¤ºªº¸ê®Æ¼Æ¦rÅܰʦӦ۰ʧó·s¤F^^



OOBIRD¤j °w¹ï²Ä¤@­Ó°ÝÃD¦³ªk¤l¶Ü^^?

TOP

        ÀR«ä¦Û¦b : ¦n¨Æ­n´£±o°_¡A¬O«D­n©ñ±o¤U¡A¦¨´N§O¤H§Y¬O¦¨´N¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD