Frncis
Member
I currently am using a VBCritical Msgbox to inform a user, & acknowledge the receipt of the message. I am trying to find code to allow a VBInformation box to pop up 3 sec after the Critical box disappears. I only need the boxes to appear when workbook is opened, so the code is on Thisworkbook.
Here is the current code:
I have found code to close automatically or after a set time, but not to open like I am trying.
Here is the current code:
Code:
Private Sub workbook_open()
'Activates on referral sheet when workbook is opened.
Worksheets("TOC").Activate
Application.Speech.Speak " Enter Consults. on the Referrals sheet. Enter Community Partner Data (O.V.R., etc.) on Walk Ins sheet!! Check Referrals first to see if a consult was placed. If YES do not make the entry on Walk Ins sheet!! ", SpeakAsync:=True
Application.Wait (Now + TimeValue("00:00:02"))
MsgBox "Enter Consults on the Referrals sheet." & vbCrLf & _
"Enter Community Partner Data (OVR, etc.) on Walk Ins sheet!!" & vbCrLf & _
"Check Referrals first to see if a consult was placed." & vbCrLf & _
"If YES do not make the entry on Walk Ins sheet. ", vbCritical, "Vocational Services Database - " & ActiveSheet.Name
End Sub
Last edited by a moderator: