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

¤@­Ó´Á­­Åã¥Ü°ÝÃD

¦^´_ 10# GBKEE
¤p©f²{§âÀɮפW¶Ç, ¦³³Òª©¤j, ÁÂÁÂÁÂ!
¸ê®Æ°Ï.rar (14.66 KB)

TOP

¦^´_ 11# 317
¹ï¸Ü²°¤¤¥uÅã¥Ü¨ì´Á³fª«, ¦p¿é¤J¨S¦³¨ì¬õ°s¤ë¥÷®É, ¥ç·|§@¥X´£¥Ü¸Ó¤ë¥÷¨S¦³¨ì´Á¬õ°s,
¥i¥H¦A¸ÑÄÀ¤@¤U¶Ü?
¸ÕµÛ­×§ï¦p¤U
  1. Option Explicit
  2. Sub Ex()
  3.   Dim ym As String, Rng As Range, A As Range, mystr As String, R As Integer
  4.   ym = InputBox("¿é¤J¤J³f¦~¤ë", , 201308)
  5.   Set Rng = Range("B:B").SpecialCells(xlCellTypeConstants)
  6.   For Each A In Rng
  7.     If IsDate(A) Then
  8.       If Format(Cells(A.Row, "B"), "yyyymm") >= ym Then  '****
  9.         If mystr = "" Then mystr = "¤J³f¤é´Á" & vbTab & "½s¸¹" & vbTab & "¦WºÙ" & vbTab & "¯Å§O" & vbTab & "¨ì´Á¤é"
  10.         If Cells(A.Row, "m") <> "" Then
  11.           R = A.Row
  12.         Else
  13.           R = Cells(A.Row, "m").End(xlUp).Row
  14.           If R = Rng.Cells(1).Row Then R = R + 1
  15.         End If
  16.         mystr = mystr & vbLf & Format(Cells(A.Row, "B"), "yyyy/mm/dd") & vbTab & Cells(A.Row, "c").Text & vbTab & Cells(A.Row, "d").Text & vbTab & Cells(A.Row, "e") & vbTab & Cells(R, "m")
  17.       End If
  18.     End If
  19.   Next
  20.   MsgBox IIf(mystr <> "", mystr, ym & " ¨S¦³¨ì´Áªº°s")
  21. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 12# GBKEE

GBKEEª©¤j, ¦n,
¤p©f²{¦A«×§â¾ã²zªºÀɮפW¶Ç, ¤º¦³©ú²Ó, ¥[¤J¹Ï¤ù¸ÑÄÀ, ¥ý¦æÁ¹Lª©¤j, ·P®¦..
¸ê®Æ°Ï.rar (190.91 KB)

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-9-5 20:45 ½s¿è

¦^´_ 13# 317
  1. Option Explicit
  2. Sub Ex()
  3.     Dim ym As String, A As Range, mystr As String, R As Integer, i As Integer
  4.     With Sheets("¤u§@ªí3")
  5.         ym = InputBox("¿é¤J¨ì´Á¤é ¦~¤ë", , Format(.[M4], "YYYYMM"))
  6.         For Each A In .Range("M:M").SpecialCells(xlCellTypeConstants)
  7.            
  8.             If Format(A, "yyyymm") = ym Then  '****
  9.                 Debug.Print A.Row
  10.                 If mystr = "" Then mystr = "¤J³f¤é´Á" & vbTab & "½s¸¹" & vbTab & "¦WºÙ" & vbTab & "¯Å§O" & vbTab & "¨ì´Á¤é"
  11.                 If A.End(xlDown).Row <> Rows.Count Then
  12.                     R = A.End(xlDown).Row - 1
  13.                 Else
  14.                     R = .Cells(A.Row, "B").End(xlDown).Row
  15.                 End If
  16.                 For i = A.Row To R
  17.                     mystr = mystr & vbLf & Format(.Cells(i, "B"), "yyyy/mm/dd") & vbTab & .Cells(i, "c") & vbTab & .Cells(i, "d") & vbTab & .Cells(i, "e") & vbTab & .Cells(A.Row, "m")
  18.                 Next
  19.             End If
  20.         Next
  21.   End With
  22.   MsgBox IIf(mystr <> "", mystr, ym & " ¨S¦³¨ì´Áªº°s")
  23. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 14# GBKEE
GBKEEª©¤j, ¥ý¦æ·PÁª©¤j¦^À³,
¦³¤G­Ó°ÝÃD,
1, «K¬O§Ú°·¤J¨ì´Á¦~¤ë201312, ¥X¥Üµ¡®Ø¦p¹Ï, °ÝÃD«K¦b©ó2013/12/31¤é¨ì´Á¤é¥u¦³¤@µ§, «K¬O²Ä¥|¦C, ¦ýµ¡®Ø¥X²{§â²Ä4¦C¦Ü²Ä8¦C³£Åã¥Ü¥X¨Ó,
¦Ó¹ê½è¨Ó»¡²Ä5¦C¦Ü²Ä8¦C³£¬O¨S¦³¨ì´Á¤é, ¥i§_§â¨S¦³¨ì´Á¤é¤£Åã¥Ü¥X¨Ó,
2,¦bµ¡®Ø¤º²Ä¤@¦æ¼ÐÅÒ½s¸¹,¦WºÙ, ¯Å§O, ¨ì´Á¤é, ¥i§_²¾¦Ü¸Ó¦æ¦ì¸m¤¤¦ì, ¦]³o¬Ý°_¨Ó, ¬O¤£·|¦³²V¶Ã·Pı, ÁÂÁÂ

¹Ï¤ù1.png (145.14 KB)

¹Ï¤ù1.png

TOP

¦^´_ 15# 317
5¦C¦Ü²Ä8¦C³£¬O¨S¦³¨ì´Á¤é, ¥i§_§â¨S¦³¨ì´Á¤é¤£Åã¥Ü¥X¨Ó,
  1. For i = A.Row To R
  2.                     mystr = mystr & vbLf & Format(.Cells(i, "B"), "yyyy/mm/dd") & vbTab & .Cells(i, "c") & vbTab & .Cells(i, "d") & vbTab & .Cells(i, "e") & vbTab & .Cells(i, "m").Text   '.Cells(A.Row, "m")§ï¦¨.Cells(i, "m")
  3.                 Next
½Æ»s¥N½X

2,¦bµ¡®Ø¤º²Ä¤@¦æ¼ÐÅÒ½s¸¹,¦WºÙ, ¯Å§O, ¨ì´Á¤é, ¥i§_²¾¦Ü¸Ó¦æ¦ì¸m¤¤¦ì, ¦]³o¬Ý°_¨Ó, ¬O¤£·|¦³²V¶Ã·Pı

     
¦p¹Ï ¬O¨Ì 13#ªºÀÉ®×°õ¦æ14#ªºµ{¦¡½X,¨S¦³§A»¡ªº²V¶Ã·Pı.
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 16# GBKEE
GBKEEª©¤j, ¦­±á
°J¤ß·PÁ¦^À³, ¤w¸Õ¦æ, ¯u¤ßÁÂÁÂÁÂ!!!

TOP

        ÀR«ä¦Û¦b : §g¤l¬°¥Ø¼Ð¡A¤p¤H¬°¥Øªº¡C
ªð¦^¦Cªí ¤W¤@¥DÃD