- ©«¤l
- 124
- ¥DÃD
- 43
- ºëµØ
- 0
- ¿n¤À
- 167
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows7
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW¥x¥_
- µù¥U®É¶¡
- 2011-3-16
- ³Ì«áµn¿ý
- 2021-10-7
|
Åý±K½XÀH¤é´ÁÅܤÆ
¥¦w
¥H¤U¥N½X¤¤
InputBox »Ýn¿é¤J¤@²Õ±K½X ²{¼È©w¬° 20150501
·QÅý±K½XÀH¬P´Á¤@ ~ ¤é ±K½X§À½X²£¥ÍÅÜ¤Æ ¼W¥[±K½Xªº«O±K©Ê
½Ð±Ðª©¤W¹F¤H
¬P´Á¤@ ±K½X¬° 20150501
¬P´Á¤G ±K½X¬° 20150503
¬P´Á¤T ±K½X¬° 20150505
¬P´Á¥| ±K½X¬° 20150507
¬P´Á¤ ±K½X¬° 20150509
¬P´Á¤» ±K½X¬° 201505011
¬P´Á¤é ±K½X¬° 201505013
Private Sub Workbook_Open()
If Date - DateSerial(2013, 1, 10) >= 60 Then
Application.EnableCancelKey = xlDisabled
MsgBox "¡°¤w¶W¹L VBA ¨Ï¥Î´Á¡A°£Àɮ׺޲zªÌ¥~µLªk¨Ï¥Î¥»ÀɮסI"
If InputBox("½Ð¿é¤JÀɮ׺޲zªÌ¡eÅv±K½X¡f¡I") <> "20140501" Then
ThisWorkbook.Close SaveChanges:=False
End If
End If
End Sub |
|