- ©«¤l
- 129
- ¥DÃD
- 25
- ºëµØ
- 0
- ¿n¤À
- 159
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-12-24
- ³Ì«áµn¿ý
- 2022-12-12
|
¥»©«³Ì«á¥Ñ iceandy6150 ©ó 2014-2-8 23:11 ½s¿è
¦^´_ 1# newlink
«¢«¢¡A§Ú¬Oµæ³¾¡A¼g¤F¶§¬Kª©ªº
¥i¬On«ç»òÅýµ{¦¡¯à¤@ª½°õ¦æ¡A§Ú¤£·|
¦pªG³]¤@Ó«ö¶s¡A¨C«ö¤@¦¸¡A¥i¥H¨Ï¥Î¤@¦¸¡A¥u°w¹ï²Ä¤G¦C
n«ç»òÀH®ÉÀHµÛªí®æ¿é¤J´N°¨¤W¸õ°Ê¡A§Ú¤£·|¡AÁÙn¦Aקï
Sub ex()
Dim i
i = Sheets("¤u§@ªí1").Cells(2, 1).Value
MsgBox (i)
If i = "" Then
Exit Sub
ElseIf i = "«O¤º" Then
Sheets("¤u§@ªí1").Cells(2, 2).Value = "--"
Sheets("¤u§@ªí1").Cells(2, 3).Value = "--"
Sheets("¤u§@ªí1").Cells(2, 4).Value = "--"
ElseIf i = "¤G×" Then
Sheets("¤u§@ªí1").Cells(2, 2).Value = "--"
Sheets("¤u§@ªí1").Cells(2, 3).Value = "--"
Sheets("¤u§@ªí1").Cells(2, 4).Value = "--"
ElseIf i = "«O¥~" Then
If Sheets("¤u§@ªí1").Cells(2, 2).Value = "" Then
Sheets("¤u§@ªí1").Cells(2, 2).Value = "¶ñª÷ÃB"
End If
If Sheets("¤u§@ªí1").Cells(2, 2).Value <> "" Then
Sheets("¤u§@ªí1").Cells(2, 3).Value = "=Today()"
End If
Else
If Sheets("¤u§@ªí1").Cells(2, 2).Value = "" Then
Sheets("¤u§@ªí1").Cells(2, 2).Value = "¶ñª÷ÃB"
End If
If Sheets("¤u§@ªí1").Cells(2, 2).Value <> "" Then
Sheets("¤u§@ªí1").Cells(2, 3).Value = "=Today()"
End If
End If
End Sub |
|