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

[µo°Ý] ½Ð«ü¾ÉVBA»yªk¡AÁÂÁÂ

¦^´_ 2# idnoidno
¸Õ¸Õ
  1. Sub finddate()
  2. myrows = Worksheets("¤u§@ªí1").Cells(Rows.Count, 1).End(xlUp).Row
  3. ¤é´Á = [i2] & "/" & [j2]
  4. For i = 2 To myrows
  5.     If ¤é´Á = Format(Cells(i, "A"), "yyyy/mm") Then
  6.         Cells(2, 12) = Cells(i, 2)
  7.     End If
  8. Next
  9. End Sub
½Æ»s¥N½X

TOP

¸ê®Æ¦pªí®æ¡A­pºâ¬Y¦~¬Y¤ëªº¤é¥­§¡¶q¡C
I2©MJ2¶ñ¤J«á¡A¦Û°Ê·j´M¼Æ¾Ú(·íµM¼Æ¾Ú¥i¥H¦A³vµ§¼W¥[)¥i¥H¦bK2±o¨ì ...
idnoidno µoªí©ó 2015-4-15 23:14


¸É¤Wªþ¥ó

YM-test1.rar (16.2 KB)

YY

TOP

        ÀR«ä¦Û¦b : ¤H­nª¾ºÖ¡B±¤ºÖ¡B¦A³yºÖ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD