- ©«¤l
- 967
- ¥DÃD
- 0
- ºëµØ
- 0
- ¿n¤À
- 1001
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN XP
- ³nÅ骩¥»
- OFFICE 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-11-29
- ³Ì«áµn¿ý
- 2022-5-17
|
¦^´_ 10# g93353 - Sub YY()
- Rows("2") = ""
- MX = InputBox("½Ð¿é¤J¤ë¥÷¼Æ")
- For M = 1 To MX
- If [A2] = "" Then
- [A2] = Cells(1, M)
- Else
- [IV2].End(xlToLeft).Offset(0, 1) = Cells(1, M)
- End If
- First = Cells(1, M) + (7 - Weekday(Cells(1, M), 2))
- If [IV2].End(xlToLeft) <> First Then
- [IV2].End(xlToLeft).Offset(0, 1) = First
- End If
- Do While Month(First + 7) = Month(Cells(1, M))
- [IV2].End(xlToLeft).Offset(0, 1) = First + 7
- First = First + 7
- Loop
- Next M
- If MX <> 6 Then
- Cells(1, MX + 1).Resize(1, 6 - MX).Copy [IV2].End(xlToLeft).Offset(0, 1)
- End If
- Range([A2], [IV2].End(xlToLeft)).NumberFormatLocal = "m/d;@"
- End Sub
½Æ»s¥N½X |
|