¼ÐÃD:
[µo°Ý]
¦p¦ó±NSheet1¤£³sÄòÄæ¦ìÀx¦s¨ìSheet2
[¥´¦L¥»¶]
§@ªÌ:
steven_lkk
®É¶¡:
2010-8-31 00:51
¼ÐÃD:
¦p¦ó±NSheet1¤£³sÄòÄæ¦ìÀx¦s¨ìSheet2
¦U¦ì«e½ú±z¦n
¤p§Ì¦bExcel¶i¶¥¥\¯àªº³¡¥÷¬O·s¤â,
°Ñ¦Ò¤§«e«e½úªº»¡©ú©M±Ôz,
¼g¥X³oÓsample,
³oÓ¦³¨âÓsheet,
§Ún±Nsheet1ªº¸ê®Æ¦b«ösaveÁä®É½Æ»s¨ìsheet2·í°µ¸ê®Æ®w,
¦ý¬O¤£ª¾¹D¦p¦ó±N©m¦W,¾Ç¸¹©M¹q¸Ü¦p¦ó¦bsheet2§¹¾ã§e²{,
¤£µM³£¦bsheet2¥u¦³²Ä¤@µ§¦³©m¦W,¾Ç¸¹©M¹q¸Ü,
²Ä¤Gµ§¤§«á¦b©m¦W,¾Ç¸¹©M¹q¸Ü¬OªÅªº.
¥i¥H³Â·Ð«e½úÀ°¦£¸Ñ¨M¤p§Ìªº°ÝÃD¶Ü?
«D±`·PÁÂ.[attach]2646[/attach]
§@ªÌ:
luhpro
®É¶¡:
2010-9-1 00:18
¦^´_
1#
steven_lkk
§Úèè´ú¸Õ¹L¬Ý¤£¥X¦³§A»¡ªº±¡§Î©O, (°õ¦æµ²ªG¦p¤U¹Ï)
¤£ª¾§A»¡ªº»P§Úªº²z¸Ñ¬O§_¤£¦P?
[attach]2662[/attach]
§@ªÌ:
Hsieh
®É¶¡:
2010-9-1 00:28
Sub Ex()
With Sheet1
For Each a In .Range(.[A4], .[A65536].End(xlUp))
ar = Array(a, .[A2], .[C2], .[E2], a.Offset(, 1), a.Offset(, 1), a.Offset(, 2), a.Offset(, 3), a.Offset(, 4))
Sheet2.[A65536].End(xlUp).Offset(1, 0).Resize(, 8) = ar
Next
End With
End Sub
½Æ»s¥N½X
§@ªÌ:
steven_lkk
®É¶¡:
2010-9-6 22:36
¦U¦ì«e½ú±z¦n
·PÁ¦U¦ìªºÀ°¦£,
Hsieh«e½ú¸Ñ¨M¤F¤p§Ìªº°ÝÃD,
¤p§Ì¬ãŪHsieh«e½úªº»yªk«á,
¦ý¹ê¦b¤£À´¤U±ªº»yªk,
ar = Array(a, .[A2], .[C2], .[E2], a.Offset(, 1), a.Offset(, 1), a.Offset(, 2), a.Offset(, 3), a.Offset(, 4))
Sheet2.[A65536].End(xlUp).Offset(1, 0).Resize(, 8) = ar
¬ßHsieh«e½ú¥i¥H¦A±Ð¾É¤p§Ì¤@µf.
«D±`·PÁÂ.
§@ªÌ:
steven_lkk
®É¶¡:
2010-9-6 22:36
¥»©«³Ì«á¥Ñ steven_lkk ©ó 2010-9-6 22:43 ½s¿è
¦U¦ì«e½ú±z¦n
¦pªG¨¾¤î¨Ï¥ÎªÌ½s¿èsheet2,
§Ú¤§«e¬O¥ÎÂêÀx¦s®æªº¤è¦¡,
¦ý¬Oµo²{·|³y¦¨µLªk½Æ»s.
«e½ú¥i¥H¦A¦¸±Ð¾É¤p§Ì¤@µf.
«D±`·PÁÂ.
§@ªÌ:
Hsieh
®É¶¡:
2010-9-6 23:04
¦^´_
5#
steven_lkk
ar = Array(a, .[A2], .[C2], .[E2], a.Offset(, 1), a.Offset(, 1), a.Offset(, 2), a.Offset(, 3), a.Offset(, 4)) '«ü©war°}¦CÅܼƤº®e
Sheet2.[A65536].End(xlUp).Offset(1, 0).Resize(, 8) = ar '±Nar°}¦C¼g¤JSheet2ªºAÄæ³Ì¤U±¸ê®Æªº¤U¤@ӪŮæÂX®i¦¨1¦C8Äæ½d³ò
¦Ü©ó«OÅ@°ÝÃD
µ{¦¡¶}©l¥[¤J
Sheet2.Unprotect "password" 'password¬O§Aªº¤u§@ªí«OÅ@±K½X
µ{¦¡µ²§ô¥[¤J
Sheet2.Protect "password"
§@ªÌ:
steven_lkk
®É¶¡:
2010-9-7 00:03
«e½ú±z¦n
½Ð°Ý¤@¤U,ar°}¦CÅܼƤº®e¬O§_¹³³oӹϤ@¼Ëªº¹ïÀ³¦ì¸m©O?
[attach]2708[/attach]
¨º³Ì²Ä¤@Óªºa, (ar = Array(a, .....)¥Nªí¤°»ò©O?
¬°¤°»ò¤S·|¦h¤@Óa.Offset(, 1)©O?
«D±`·PÁ±zªºÀ°¦£.
§@ªÌ:
steven_lkk
®É¶¡:
2010-9-8 23:17
«e½ú±z¦n
¤p§Ì¨Ì·Ó¤WÓsample·í½d¥»¨Ó½m²ß»s§@¤@Ó³ø»ù³æ,
µ²ªG«ö¤Fsave«á¦bListùØ¥X²{´XÓ°ÝÃD,
1.¤é´Á¤£¬O§Úì¨Óªº¤º®e
2.§Ú¥u·Q²{¦³ªº¨âµ§¸ê®Æ½Æ»s¨ìlistùØ,µ²ªGlist¥X²{«ÂЦh¾lªº¸ê®Æ
§Ú¸Ó«ç»ò×¥¿©O??
¥t¥~¦³¤@Ó°ÝÃD,
¦pªG³æ¸¹ªº²Õ¦¨¬O^¤å¦r¥À+¤é´Á+¨â¦ì¼Æªº¬y¤ô¸¹,
§Æ±æ¯à¦Û°Ê²£¥Í³æ¸¹,
¤£ª¾¸Ó¦p¦ó¼g³o¬q©O?
¬ß«e½ú½ç±Ð.
«D±`·PÁÂ
[attach]2736[/attach]
§@ªÌ:
steven_lkk
®É¶¡:
2010-9-13 23:21
¦U¦ì«e½ú±z¦n~
¤p§Ì¥¢¸ÕµÛ¹Á¸Õ×¥¿°ÝÃD,¦ý¬O´X¤é¤U¨Ó¥¼×ªº¥¿ªG,
¬ß¦U¦ì«e½ú½ç±Ð.
«D±`·PÁÂ
§@ªÌ:
oobird
®É¶¡:
2010-9-14 00:16
Private Sub CommandButton1_Click()
With Sheet3
For Each a In .Range(.[B13], .[B26].End(xlUp))
i = i + 1
ar = Array(.[f7].Text, "s" & .[f7].Text & "-" & Format(i, "00"), .[C6], .[C7], .[C8], .[C9], .[C10], .[F8], a, a.Offset(, 1), a.Offset(, 2), a.Offset(, 3), a.Offset(, 4))
Sheet8.[A65536].End(xlUp).Offset(1, 0).Resize(, 13) = ar
Next
End With
End Sub
½Æ»s¥N½X
¥t¥~³ø»ù³æbÄæ¦]¦³ªÅ¥Õ¦r²Å¡A©Ò¥H.[B26].End(xlUp)·|§PÂ_¿ù»~¡A¿ï¤¤b15:b26,«ö¤@¤Udelete.
§@ªÌ:
steven_lkk
®É¶¡:
2010-9-14 21:06
«D±`·PÁ«e½úªºÀ°¦£»P»¡©ú,¤Ó·PÁ¤F.
Åwªï¥úÁ{ ³Â»¶®a±Ú°Q½×ª©ª© (http://forum.twbts.com/)