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

EXCEL2003 ¤ë¥÷¼W¥[°ÝÃD

¦^´_ 1# g93353
1/31  ,  1+1=2  , ¤µ¦~ 2¤ë¦³29¤Ñ 31 -29 ¦h2¤Ñ ²¾°Ê¨ì¤U¤ë ¬° 3/2  ³o¨S¿ù
  1. Sub Ex()
  2.     Dim i As Integer, ii As Integer
  3.     For i = 1 To Day(DateSerial(Year(Date), Month(Date) + 1, 0)) - 1
  4.         If Weekday(DateSerial(Year(Date), Month(Date), i)) = 2 Then
  5.             ii = ii + 1
  6.             Cells(ii) = DateSerial(Year(Date), Month(Date), i)
  7.         End If
  8.     Next
  9. End Sub
½Æ»s¥N½X

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2012-1-3 15:59 ½s¿è

¦^´_ 5# g93353
1 $C$1=TODAY() ©Î¬O§A­nªº¤ë¥÷
2©w¸q¦WºÙ: Y = IF(WEEKDAY(DATE(YEAR($C$1),MONTH($C$1),ROW()))=2,DATE(YEAR($C$1),MONTH($C$1),ROW()),"")
3 °}¦C¤½¦¡:  =SMALL(Y,ROW($1:$6))     ±q²Ä1 ¦C¶}©l ¦Ü¤Ö¤U©Ô31¦C

TOP

        ÀR«ä¦Û¦b : ¬°¦Û¤v§äÂǤfªº¤H¥Ã»·¤£·|¶i¨B¡C
ªð¦^¦Cªí ¤W¤@¥DÃD