SendObject Change Message Font

  • Thread starter Thread starter weircolin
  • Start date Start date
W

weircolin

Hi

I am using the SendObject function to send referrals when a button is
clicked. I would like to be able to change the font to Arial rather
than Times New Roman. Is there anyway to do this?

This is my code

DoCmd.SendObject acReport, stDocName, acFormatRTF, straddress, , ,
"Referral", "Please find the attached referral. If you require more
information or have trouble opening the file please contact us on 01698
404055." & vbCrLf & vbCrLf & "North Lanarkshire Carers Together"

Thanks

Colin
 
Hi

I am using the SendObject function to send referrals when a button is
clicked. I would like to be able to change the font to Arial rather
than Times New Roman. Is there anyway to do this?

This is my code

DoCmd.SendObject acReport, stDocName, acFormatRTF, straddress, , ,
"Referral", "Please find the attached referral. If you require more
information or have trouble opening the file please contact us on
01698 404055." & vbCrLf & vbCrLf & "North Lanarkshire Carers Together"

No. You would have to use automation of Outlook, CDO, or another messaging
library that allows for the creation of HTML messages in order to control font
sizes and styles. Even then you wouldn't have complete control.
 
Back
Top