- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 31# v03586
Ex.zip (538.28 KB)
ªþÀɤw¸É¤W ¤H¤O¸ê®Æ®w¯Z§O²Õ§O¤H¼Æ¸ê®Æªºµ{¦¡½X
ªþÀɪº Main_¦^³ø²M°£() »P29#ªþÀɪºªºµ{¦¡½X¤@¼Ë
½Ð¦A¸Ô²Ó¬Ý¬Ý ¬P´Á¬O§_ÁÙ¬O¨S¦³¶Ü?- Private Sub Main_¦^³ø²M°£()
- Dim i As Date
- With Sheets("¤Hû¦^³ø")
- .[A2] = Format(xDay, "yyyy/mm") '** ¤ë¥÷ **
- .Range(.[h1], .[h1].End(xlToRight)).EntireColumn = ""
- .Range(.[A63], .[G63].End(xlDown)) = ""
- For i = DateSerial(Year(xDay), Month(xDay), 1) To DateSerial(Year(xDay), Month(xDay) + 1, 0)
- With .[h1] '**«¼g ·í¤ë¥÷¤é´Á
-
- .Offset(0, Day(i) - 1) = Day(i)
- .Offset(1, Day(i) - 1) = Mid(Format(i, "aaa"), 3)
-
- .Offset(16, Day(i) - 1) = Day(i)
- .Offset(17, Day(i) - 1) = Mid(Format(i, "aaa"), 3)
-
- .Offset(32, Day(i) - 1) = Day(i)
- .Offset(33, Day(i) - 1) = Mid(Format(i, "aaa"), 3)
-
- .Offset(60, Day(i) - 1) = Day(i)
- .Offset(61, Day(i) - 1) = Mid(Format(i, "aaa"), 3)
-
- Stop '½Ð¦^¨ì [¾ã¦X¶±]¬Ý¤@¤U¬P´Á¦³¿é¤J¶Ü?
- End With
- Next
- End With
- End Sub
½Æ»s¥N½X |
|