| ©«¤l552 ¥DÃD3 ºëµØ0 ¿n¤À578 ÂI¦W0  §@·~¨t²Îwin7 ³nÅ骩¥»office 2010 ¾\ŪÅv50 ©Ê§O¨k µù¥U®É¶¡2015-2-8 ³Ì«áµn¿ý2024-7-9 
   
 | 
                
| ¦^´_ 1# toromru ½Æ»s¥N½XOption Explicit
Public Sub ex()
Dim I As Date
Dim r%, dN%, j%
r = 1
dN = DateSerial(Year(Date), Month(Date) + 2, 0) - DateSerial(Year(Date), Month(Date) + 1, 1) + 1 'pºâ¦¸¤ë¦³´X¤Ñ
For j = 1 To Cells(Rows.Count, 1).End(xlUp).Row Step dN '
        For I = DateSerial(Year(Date), Month(Date) + 1, 1) To DateSerial(Year(Date), Month(Date) + 2, 0) '¶ñ¼g¤é´Á
            If Cells(r, 1) <> "" Then '¹J¨ìAÄæ¦³ªÅ¥Õ¡A´N°±¤î
                Cells(r, 2) = Format(I, "m/ d")
                r = r + 1
            End If
        Next
Next
End Sub
 | 
 |