Beep
Application.Wait Now + TimeValue("0:00:01")
Beep
Application.Wait Now + TimeValue("0:00:01")
BeepI am the user. The calculating takes so long I am able to leave my desk and do something else in the room until I hear its melodious BEEPs calling me back to the grind stone.ahhh trying to drive your users insane.
Please reply with the code that does that. It's probably a bit more than I need at the moment, but it may come in handy in the future.Ah. I use an email for that. Just at the end of a long routine I throw on a quick email that says "your stuff is done". It also works for any constituent users you may have who insist being notified of it too.
I tried it out. Microsoft needs to improve the voice.Code:Sub Test() Application.Speech.Speak ("Eloise You job is completed,..Please Review") End Sub

Please reply with the code that does that. It's probably a bit more than I need at the moment, but it may come in handy in the future.
Sub EmailNote()
   
  Dim sDistroList As String
   
   
  Set OutApp = CreateObject("Outlook.Application")
  Set OutMail = OutApp.CreateItem(0)
   
  sDistroList = whoever@whereever.com
   
  With OutMail
  .SentOnBehalfOfName = ""
  .To = sDistroList
  .bcc = ""
  .cc = ""
  .Subject = "Project Updated"
   
  .body = "Project UPdated"
  .display
  .send
  End With
  Set OutMail = Nothing
  Set OutApp = Nothing
   
End SubPrivate Declare Function kBeep Lib "kernel32" Alias "Beep" (ByVal Frq&, ByVal Dur&) As Boolean
Sub kBeepDemo()
    FD = [{392,494,588,740,880,740,880;200,100,200,100,400,100,900}]
    For L& = 1 To UBound(FD, 2):  kBeep FD(1, L), FD(2, L):  Next
End SubHi !
Sometimes I play music or voice from mp3 or wav file
but for this kind of alert I use some musical beep :Code:Private Declare Function kBeep Lib "kernel32" Alias "Beep" (ByVal Frq&, ByVal Dur&) As Boolean Sub kBeepDemo() FD = [{392,494,588,740,880,740,880;200,100,200,100,400,100,900}] For L& = 1 To UBound(FD, 2): kBeep FD(1, L), FD(2, L): Next End SubDo you like it ? So thanks to click on bottom right Like
I received the following error:

#If VBA7 Then
    Private Declare PtrSafe Function kBeep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long
#Else
    Private Declare Function kBeep Lib "kernel32" (ByVal Frq&, ByVal Dur&) As Boolean
#End IfTry replace the declaration line with this
Code:#If VBA7 Then Private Declare PtrSafe Function kBeep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long #Else Private Declare Function kBeep Lib "kernel32" (ByVal Frq&, ByVal Dur&) As Boolean #End If

Option Explicit
#If VBA7 Then
    Private Declare PtrSafe Function kBeep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long
#Else
    Private Declare Function kBeep Lib "kernel32" (ByVal Frq&, ByVal Dur&) As Boolean
#End If
Sub kBeepDemo()
    FD = [{392,494,588,740,880,740,880;200,100,200,100,400,100,900}]
    For L& = 1 To UBound(FD, 2):  kBeep FD(1, L), FD(2, L):  Next
End Sub
Option Explicit
#If VBA7 Then
    Private Declare PtrSafe Function kBeep Lib "kernel32" Alias "Beep" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Boolean
#Else
    Private Declare Function kBeep Lib "kernel32" (ByVal Frq&, ByVal Dur&) As Boolean
#End If
Sub kBeepDemo()
Dim FD, L As Long
    FD = [{392,494,588,740,880,740,880;200,100,200,100,400,100,900}]
    For L& = 1 To UBound(FD, 2)
        kBeep FD(1, L), FD(2, L)
    Next
End SubOption Explicit
#If VBA7 Then
    Private Declare PtrSafe Function Beep Lib "kernel32" Alias "Beep" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Boolean
#Else
    Private Declare Function Beep Lib "kernel32" (ByVal Frq&, ByVal Dur&) As Boolean
#End If
Sub kBeepDemo()
Dim FD, L As Long
    FD = [{392,494,588,740,880,740,880;200,100,200,100,400,100,900}]
    For L& = 1 To UBound(FD, 2)
        Beep FD(1, L), FD(2, L)
    Next
End SubReplace kBeep with Beep in the code
Code:Option Explicit #If VBA7 Then Private Declare PtrSafe Function Beep Lib "kernel32" Alias "Beep" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Boolean #Else Private Declare Function Beep Lib "kernel32" (ByVal Frq&, ByVal Dur&) As Boolean #End If Sub kBeepDemo() Dim FD, L As Long FD = [{392,494,588,740,880,740,880;200,100,200,100,400,100,900}] For L& = 1 To UBound(FD, 2) Beep FD(1, L), FD(2, L) Next End Sub

