B
Bob Vance
Can I add [Public Function DownloadMessage] to EmailSignature , the
downloadmessage is to far down the email page people are not seeing
it..Thanks Bob
Public Function eMailSignature( _
Optional strGreeting As String = "Best Regards", _
Optional InclOwnerName As Boolean = True) As String
Dim strCompany As String, strSender As String
strCompany = Nz(DLookup("[CompanyName]", "tblCompanyInfo"), "")
strSender = IIf(InclOwnerName, Nz(DLookup("[EmailName]", _
"tblCompanyInfo"), ""), "")
eMailSignature = Chr(10) & Chr(10) & Chr(13) & IIf(Len(strGreeting) > 0,
_
strGreeting & "," & Chr(10) & Chr(13), "") & IIf(Len(strSender) > 0, _
strSender & Chr(10) & Chr(13), "") & strCompany & Chr(10) & Chr(13)
End Function
Public Function DownloadMessage( _
Optional strFileType As String = "snp", _
Optional strMessage As String = _
"If you cannot open the attachment " _
& "please download and install the(Free)Viewer " _
& "from the following Microsoft link and If clicking doesn't work Cut and
Paste the line below into your Web browser's address bar") _
As String
Dim strLink As String
Select Case strFileType
Case "rtf" 'MSWord
strLink =
"http://www.microsoft.com/downloads/...7-8732-48d5-8689-ab826e7b8fdf&DisplayLang=en "
Case "snp" 'Snapshot
strLink = "http://support.microsoft.com/kb/175274"
Case "PDF" 'Adobe Acrobat
strLink =
"http://www.freedownloadhq.com/acrobat/index.asp?s=goau&a=acrobat"
Case "XLS" 'Excel
strLink =
"http://www.microsoft.com/downloads/...f4-996c-4569-b547-75edbd03aaf0&displaylang=EN"
Case Else
DownloadMessage = ""
Exit Function
End Select
DownloadMessage = Chr(10) & Chr(10) & Chr(10) & Chr(10) & Chr(13) _
& strMessage & Chr(10) & Chr(10) & Chr(13) & strLink _
& Chr(10) & Chr(13)
End Function
downloadmessage is to far down the email page people are not seeing
it..Thanks Bob
Public Function eMailSignature( _
Optional strGreeting As String = "Best Regards", _
Optional InclOwnerName As Boolean = True) As String
Dim strCompany As String, strSender As String
strCompany = Nz(DLookup("[CompanyName]", "tblCompanyInfo"), "")
strSender = IIf(InclOwnerName, Nz(DLookup("[EmailName]", _
"tblCompanyInfo"), ""), "")
eMailSignature = Chr(10) & Chr(10) & Chr(13) & IIf(Len(strGreeting) > 0,
_
strGreeting & "," & Chr(10) & Chr(13), "") & IIf(Len(strSender) > 0, _
strSender & Chr(10) & Chr(13), "") & strCompany & Chr(10) & Chr(13)
End Function
Public Function DownloadMessage( _
Optional strFileType As String = "snp", _
Optional strMessage As String = _
"If you cannot open the attachment " _
& "please download and install the(Free)Viewer " _
& "from the following Microsoft link and If clicking doesn't work Cut and
Paste the line below into your Web browser's address bar") _
As String
Dim strLink As String
Select Case strFileType
Case "rtf" 'MSWord
strLink =
"http://www.microsoft.com/downloads/...7-8732-48d5-8689-ab826e7b8fdf&DisplayLang=en "
Case "snp" 'Snapshot
strLink = "http://support.microsoft.com/kb/175274"
Case "PDF" 'Adobe Acrobat
strLink =
"http://www.freedownloadhq.com/acrobat/index.asp?s=goau&a=acrobat"
Case "XLS" 'Excel
strLink =
"http://www.microsoft.com/downloads/...f4-996c-4569-b547-75edbd03aaf0&displaylang=EN"
Case Else
DownloadMessage = ""
Exit Function
End Select
DownloadMessage = Chr(10) & Chr(10) & Chr(10) & Chr(10) & Chr(13) _
& strMessage & Chr(10) & Chr(10) & Chr(13) & strLink _
& Chr(10) & Chr(13)
End Function