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

Aªí³æµ§¸ê®Æ¬d¸ßBªí(¤w¸Ñ, ·PÁÂregister313)

Aªí³æµ§¸ê®Æ¬d¸ßBªí(¤w¸Ñ, ·PÁÂregister313)

¥»©«³Ì«á¥Ñ XDshining ©ó 2012-4-27 17:56 ½s¿è

«e½ú­Ì¦n:
§Ú¦³¤@µ§¸ê®Æ»Ý­n°µ¤ñ¹ï¡A¦ý¥Ñ©ó¸ê®Æ¶q¦³¤W¸Uµ§¡A¦]¦¹¥Î¤â°Êªº¤è¦¡­n°µ«Ü¤[¡C
¦bª©¤Wª¦¤å¦³§ä¨ì¸ò§Úªº»Ý¨D«ÜÃþ¦üªº©«¤l¦p¤U¡G
[µo°Ý] Aªí¨C³æµ§¸ê®Æ¥h¬d¸ßBªí ±o¥X¦h¦C¸ê®Æ ½Æ»s¨ìCªí [0613]¦¨¥\ÂP
¤]¦³¸Õ¹L¤W­±ªº¥¨¶°»yªk¥h¶]¬Ý¬Ý¡A¤£¹L¶]¨ì«á¨Ó¥X²{
¡y°õ¦æ¶¥¬q¿ù»~'5':
µ{§Ç©I¥s©Î¤Þ¼Æ¤£¥¿½T¡z

§Ú·QÀ³¸Ó¥u¬O¬Y­ÓÀô¸`¥X¤F°ÝÃD¡A¤£¹L§Ú¹ïEXCEL«Ü¤£¼ô¡A©Ò¥H¤]µL±q­×¥¿°_¡C
¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×
§Úªº»Ý¨D¥D­n´y­z¦p¤U¡G
sheet1ªºAÄæ¦ì¤º®e·|¦bsheet2ªºAÄæ¦ì¥X²{¡A¤£¹Lsheet2ªº¸ê®Æ¦³¤W¸Uµ§¡A
§Ú·Q­n¦bsheet2ªºAÄæ¦ì§ä¥X²Å¦Xsheet1ªºAÄæ¦ìªº¤º®e¡A¨Ã±N²Å¦Xªº¤º®esheet2ªºA¡®BÄæ¦ì¦P®É¥X²{¦bsheet3¡C
ªþ¥ó¬O§Ú¥Î¤â°Ê¤è¦¡¿z¿ï¥X¨Óªº¡A¥Ñ©óÁÙ¦³¨ä¥Lµ§¸ê®Æ­n¤ñ¹ï¡A¦]¦¹·Q°Ý°Ý¬Ý¬O§_¦³¨ä¥L¤è¦¡¥i¥H¸Ñ¨M¡C
¡]­ì©l¸ê®Æ´N¬Osheet1&sheet2ªº¤º®e¡A§Æ±æ²£¥Í¥Xsheet3ªº¤º®e¡A¤§«ásheet1ªº¤º®e·|ÅÜ°Ê¡^
new.rar (1023.53 KB)
²¨Ò¡G

¦^´_ 1# XDshining


    ±z¦³»`´M¹L¤å³¹?

¾Ú§Ú©Òª¾  ½×¾Â¤W¤å³¹Ãþ¦üªº´N¦³ ¥|µ§¥H¤W..
°Ý§Ú¬°Ô£ª¾¹D¡A¨ä¤¤¦³¤@µ§¬O§Ú°Ýªº..

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¦^´_ 1# XDshining
  1. Sub aa()
  2. Dim Ar() As String
  3. Set d = CreateObject("scripting.dictionary")
  4. With Sheet1
  5.   For Each A In .Range(.[A2], .[A2].End(xlDown))
  6.     d.Add A.Value, A.Value
  7.   Next
  8. End With
  9. With Sheet2
  10.   C = 0
  11.   For Each A In .Range(.[A2], .[A2].End(xlDown))
  12.     If d.exists(A.Value) Then
  13.        C = C + 1
  14.        ReDim Preserve Ar(1 To 2, 1 To C)
  15.        Ar(1, C) = A
  16.        Ar(2, C) = A.Offset(0, 1)
  17.     End If
  18.   Next
  19. End With
  20. Sheet3.Rows("2:65536") = ""
  21. Sheet3.[A2].Resize(C, 2) = Application.Transpose(Ar)
  22. End Sub
½Æ»s¥N½X

TOP

¦^´_ 2# mark15jill


    ·PÁÂm¤jªº±Ð»£, §Ú©Ó»{§Úª¦ªº¤å¤£°÷¦h.
³z¹Lm¤jªº´£¿ô§Ú¤~·NÃѨì§Ú©¿²¤¤FExcel¤@¯ë°Ï¸ÌÂ×´Iªº¸ê®Æ, ¦b¦¹¥ý­P¤W³Ì²`ªººp·N.

¤£¹L§Ú¦³´£¨ì§Ú¹ïEXCEL¯uªº¤£¼ô, ©Ò¥H§ä¨ìªºÃþ¦ü¤å³¹¤¤ªº°µªk, §Ú¤]ÁÙ¬O¬Ý¤£¤ÓÀ´.
¶]¥X¨Óªº¿ù»~°T®§¤]¬O·d¤£À´¥¦¬O¤°»ò·N«ä.
§Ú·Q§Ú¹ïEXCELµ{¦¡Áٻݭn°µ§ó¦hªºÆp¬ã...©êºpÅýª©¤Wªº¤j¤j¬Ý¯º¸Ü¤F

TOP

¦^´_ 3# register313


    ·PÁÂr¤jªº¨ó§U!!!(¸÷

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-4-30 08:41 ½s¿è

¦^´_ 4# XDshining

°ò¥»¤W «Ü¦h¤H³£·|¹³§A¤@¼Ë¡A³s§ä³£¨S§ä´Nµo°Ý(§Ú¤§«e¤]¬O><
¥i¬O¹ê»Ú¤W ³o¼Ë·|³y¦¨¨t²Î¸ê·½ªº®ö¶O
¤]·|³y¦¨¨ä¥L¤j¤j­Ìªº§xÂZ..
Áö»¡¨CºØ°ÝÃD»Ý¨D¤£¦P
¦ý¬O¸Ñµª¤è¦¡¤j¦P¤p²§....


(Äb®¬¤¤

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

        ÀR«ä¦Û¦b : ¤Hªº²´·úªø¦b«e­±¡A¥u¬Ý¨ì§O¤Hªº¯ÊÂI¡Aµ·²@¬Ý¤£¨ì¦Û¤vªº¯ÊÂI¡C
ªð¦^¦Cªí ¤W¤@¥DÃD