niestety w Outlooku nie ma:
- Kod: Zaznacz cały
Application.OnTime Now + TimeValue("00:00:05"), "RunForrest"
jak realizuje się podonbe instrukcje?
Moderator: Moderatorzy
Application.OnTime Now + TimeValue("00:00:05"), "RunForrest"
Sub aaaa()
Dim PauseTime, start, finish, a
a = 1 'tymczasowo
'docelowo if userform1.checkbox = true then
If a = 1 Then
PauseTime = 15
ponowienie:
start = Timer
finish = start + PauseTime
While (start < finish)
start = Timer
DoEvents
Wend
MsgBox "bbb" 'tu bedzie podpieta procedura robienia czegoś tam
a = 1 'sprawdzenie czy nie zmieniono zdania
GoTo ponowienie
End If
End Sub
Private Sub Application_Startup()
MsgBox "Outlook startup"
End Sub
Private Sub Application_SendMail()
MsgBox "wysłano maila"
End Sub
Użytkownicy przeglądający ten dział: Brak zidentyfikowanych użytkowników i 3 gości