Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public mode As Integer
Private Sub UserForm_Activate()
Dim newHour As Integer, newMinute As Integer, newSecond As Integer
Dim waitTime As Date
If mode = 1 Then
Update.Process.Caption = "WP will search if there is new data to import!"
If Not TransferDatabase.GetData Then
Process.Caption = "There was an error updateing data!"
newHour = Hour(Now())
newMinute = Minute(Now())
newSecond = Second(Now()) + 3
waitTime = TimeSerial(newHour, newMinute, newSecond)
Application.Wait waitTime
End If
End If
If mode = 2 Then
modules.OpenProject
End If
End Sub
Private Sub UserForm_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If KeyCode = vbKeyEscape Then KeyCode = 0: Exit Sub
End Sub
[\code]