Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
With .Cells(1, 2)
If .Value <> 5 Then
If .Value = 3 And DateDiff("n", Sheets("Test").Cells(1, 3), Now) <= 2 Then
MsgBox A
Else
.Value = .Value + 1
Select Case .Value
Case Is <= 2, 4
MsgBox B
Case Is = 3, 5
Dim Cel As Long
If .Value = 3 Then Cel = 3
If .Value = 5 Then Cel = 4
If Cel > 0 Then
With Sheets("Test").Cells(1, Cel)
If .Value = vbNullString Then
.Value = Now
.NumberFormat = "dd-mm-yyyy hh:mm:ss"
End If
If Cel= 3 Then MsgBox D
If Cel= 4 Then MsgBox E
End With
End If
End Select
End If
Else
MsgBox C
End If
End With
Werkt de Workbook Close ook bij geforceerd afsluiten dan?? Ik heb het over bij het gebruik van Ctrl Alt Del of de uitschakelaar.
With .Cells(1, 2)
Dim Cel As Long
If .Value <> 5 Then
If .Value = 3 And DateDiff("n", Sheets("Test").Cells(1, 3), Now) <= 2 Then
MsgBox A
Else
.Value = .Value + 1
Select Case .Value
Case Is <= 2, 4
MsgBox B
Case 3
Cel = 3
MsgBox D
Case Is = 5
Cel = 4
MsgBox E
End Select
If Cel > 0 Then
With Sheets("Test").Cells(1, Cel)
If .Value = vbNullString Then
.Value = Now
.NumberFormat = "dd-mm-yyyy hh:mm:ss"
End If
End With
End If
End If
Else
MsgBox C
End If
End With
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.