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

[µo°Ý] ¦b¨S¦³±Æ§Çªº±¡§Î¤U,¬Û¦P²£«~½s¸¹¡A¯d¤U³Ì«á¤@­Ó´N¦n

¦^´_ 3# PJChen

½Ð°Ý²Ä1¼Óªº±¡§Î,¦³¤½¦¡¥i¥H¥Î¶Ü?

TOP

¦^´_ 2# luhpro

ÁÂÁ¤j¤jªº¦^ÂÐ,°õ¦æ¤W¨S¦³°ÝÃD,¦ý¦]¬°ÀÉ®×°µ§¹«á­nµ¹³\¦h¤H¬Ý,§Ú¤ñ¸û¾á¤ß§Ñ¤F§R°£¥¨¶°....
·Qª¾¹D¦³¨S¦³¤H·|¥Î¤½¦¡ªº?

TOP

¦U¦ì¤j¤j¦n,

½Ð±Ð.....
§Ú·Q¦bEÄæ¤U¤@­Ó¤½¦¡¡A¦b¨S¦³±Æ§Çªº±¡§Î¤U,ÅýBÄæ¬Û¦P²£«~½s¸¹¡A¯d¤U³Ì«á¤@­Ó´N¦n ...
PJChen µoªí©ó 2014-11-20 19:01

¤½¦¡§Ú¤£·|,
­Y§ï¥Î Excel VBA ­Ë¬O«Ü®e©ö°µ¨ì¦¹¥\¯à.
  1. Sub nn()
  2.   Dim lRow&
  3.   Dim vD, vA
  4.   
  5.   Set vD = CreateObject("Scripting.Dictionary")
  6.   lRow = Cells(Rows.Count, 5).End(xlUp).Row
  7.   Range(Cells(5, 5), Cells(lRow, 5)).Clear
  8.   lRow = 5
  9.   Do While Cells(lRow, 2) <> ""
  10.     vD(CStr(Cells(lRow, 2))) = lRow
  11.     lRow = lRow + 1
  12.   Loop
  13.   
  14.   For Each vA In vD
  15.     Cells(vD(vA), 5) = vA
  16.   Next
  17. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¨Ã«D¦³¿ú¾{¬O§Ö¼Ö¡A°Ý¤ßµL·\¤ß³Ì¦w¡C
ªð¦^¦Cªí ¤W¤@¥DÃD