Microsoft Access 2010 Personalized Letter?

accessnewbie

New member
Local time
8:07 AM
Messages
2
Hi Guys

I have a question..

I have a database called customers with their information (First Name, Last Name, street address etc)

I have written a personalized letter and would like to send it to each customer in the database

Dear Joe Bloggs
It is with great pleasure that we would like to inform you ........

Your Sincerly
...............

What I want to do is, Replace "Joe Bloggs" with the name of each of the customers

If I had Sue Rain as a customer the letter would be

Dead Sue Rain
It is with great pleasure that we would like to inform you ........

Your Sincerly
...............

I will need to Email the personalized letter to each customer

Hope someone can help

Mark
 

My Computer

OS
windows 7 32bit
You can do this by having Access drive either Outlook or the system's default email program, but you have to do this with VBA code. If you know how to write VBA I can send you some sample code that works. There is a condition though - if the email requires attachments the code is more complex and must use Outlook. If it is just a simple text-only email then the code can be simpler and can use the system's default email program. In my case I had to accommodate attachments (up to 5 of them!) so I had to do the more complex code for Outlook.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built
OS
Win7-64
CPU
Intel i7-3770S
Motherboard
ASUS P8Z77-M
Memory
16GB
Graphics Card(s)
nVidia GT630
Sound Card
onboard
Monitor(s) Displays
dual
Screen Resolution
1920x1200 (primary) 1050x1680 (secondary)
Hard Drives
128GB SSD (boot)
64GB SSD (Temp/My Documents)
500GB (photos/videos)
1TB (rendered video, backups)
PSU
650W
Case
Thermaltake A30
Cooling
Thermaltake
Keyboard
Logitech Lighted
Mouse
Kensington Expert Mouse (trackball)
Internet Speed
FIOS 35/35
Antivirus
MS Security Essentials
Browser
Chrome (beta)
Back
Top