- ©«¤l
- 17
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 56
- ÂI¦W
- 0
- §@·~¨t²Î
- Window10
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2019-12-4
- ³Ì«áµn¿ý
- 2022-6-16
|
½Ð°Ý¦U¤è°ª¤â:
©³¤Uªºµ{¦¡½XÀ³¸Ó¬O¥¿½Tªº,¦ý¬O§Ú¥h¬Ý¤£¥X¨Ó¬°¦ó VBA¤£ªÖ°õ¦æ,¬O§_¦³¤H¥i¥H¬Ý¥X°ÝÃD.....
Sub Macro10()
'
' Macro10 Macro
'
¤½¥q¥N¸¹ = 2330
¦~«×¥N¸¹ = 2010
¤ë¥÷¥N¸¹ = 3
'©u«×¥N¸¹ = 20143
If ¤ë¥÷¥N¸¹ = 3 Or 4 Then _
©u«×¥N¸¹ = "¦~«×¥N¸¹" - 1 & 4
ElseIf ¤ë¥÷¥N¸¹ = 5 Or 6 Or 7 Then _
©u«×¥N¸¹ = "¦~«×¥N¸¹" & 1
ElseIf ¤ë¥÷¥N¸¹ = 8 Or 9 Or 10 Then _
©u«×¥N¸¹ = "¦~«×¥N¸¹" & 2
ElseIf ¤ë¥÷¥N¸¹ = 11 Or 12 Or 1 Or 2 Then _
©u«×¥N¸¹ = "¦~«×¥N¸¹" & 3
Else: MsgBox "½Ð¿é¤J¤ë¥÷¥N¸¹"
End If
ÁÂÁ¦U¤è°ª¤âªº¦^µª |
|