View Single Post
  #2 (permalink)  
Old June 25th, 2009, 12:16 PM
DaveTho DaveTho is offline
Registered User
 
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Upright quotes

Try using upright single and double quotes.

<code>
Public Sub DisplayUnexpectedError(ErrorNumber As String, ErrorDescription As String)
' Note: since this is a universal error handling procedure, it does not have error handling
MsgBox "An error has occurred in this application. " _
& "Please contact your technical support and " _
& "tell them this information:" _
& vbCrLf & vbCrLf & "Error Number " & ErrorNumber & ", " _
& ErrorDescription, vbCritical, "My Application"
End Sub
</code>