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

µ{¦¡¶}±Ò«áª½±µ¨ú±o¤µ¤é¤é´ÁµJÂI

µ{¦¡¶}±Ò«áª½±µ¨ú±o¤µ¤é¤é´ÁµJÂI

½Ð°Ý¦U¦ì¤j¤j
»Ý¨D¬O
¥´¶}µ{¦¡«á´å¼Ð·|ª½±µ¸õ¨ì¤µ¤é¤é´ÁªºÀx¦s®æ
½Ð°Ý¸Ó¦p¦ó³]­p©O
ÁÂÁÂ

¥»©«³Ì«á¥Ñ Andy2483 ©ó 2023-4-7 08:40 ½s¿è

¦^´_ 1# coafort


    ÁÂÁ«e½úµoªí¦¹¥DÃD
«á¾ÇÂǦ¹©«½m²ß¦r¨å»PÀx¦s®æ¶°Union(),¾Ç²ß¤è®×¦p¤U,½Ð«e½ú°Ñ¦Ò

°õ¦æ«e:


°õ¦æµ²ªG:



Option Explicit
Sub TEST()
Dim Y, xR As Range, Ra As Range, xD
Set Y = CreateObject("Scripting.Dictionary")
Set xR = ActiveSheet.UsedRange
For Each Ra In xR.SpecialCells(2)
   On Error Resume Next
   If IsDate(CDate(Ra)) = False Then GoTo i01
   On Error GoTo 0
   xD = CDate(Ra) & ""
   If Not Y.Exists(xD) Then
      Set Y(xD) = Ra
      Else
      Set Y(xD) = Union(Y(xD), Ra)
   End If
   
i01:
Next
Application.Goto Y(Date & ""): MsgBox "¤µ¤Ñ"
Application.Goto Y(Date + 1 & ""): MsgBox "©ú¤Ñ"
Application.Goto Y(Date + 2 & ""): MsgBox "«á¤Ñ"
Set Y = Nothing: Set xR = Nothing: Set Ra = Nothing
End Sub
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_  coafort


    ÁÂÁ«e½úµoªí¦¹¥DÃD
«á¾ÇÂǦ¹©«½m²ß¦r¨å»PÀx¦s®æ¶°Union(),¾Ç²ß¤è®×¦p¤U,½Ð«e½ú°Ñ ...
Andy2483 µoªí©ó 2023-4-7 08:14


«D±`·PÁ¤j¤j
½Ð°Ý¤j¤j¦³¿ìªk¤£»Ý­n«ö«ö¶s
µ{¦¡¤@¥´¶}´N·|¦Û¤v¸õ¨ì¥»¤é¤é´ÁªºÀx¦s®æ¶Ü¡H
ÁÂÁ¤j¤j

TOP

        ÀR«ä¦Û¦b : ªY½à§O¤H´N¬O²øÄY¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD