SendObject Change Message Font

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
 
R

Rick Brandt

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top