JJarava,
It sounds like you're looking to do a basic mail merge? If the process is going to be user initiated then the steps to perform a merge are located can be found by googling mail merge.
I have't dug up a routine that does the entire process for you, but hopefully I can get you going down the right track. I would imagine that your ideal solution would be similar to the following:
- Programatically Create mail merge via excel/access
- Schedule intervals for the program to run
Assuming you're in a hacking mood then if you would like to automate most of the process here is a snippet for Access VBA, and two for Excel VBA here and here.
If you would like to automate the entire process (ie: scheduling, etc), then it may be a bit more involved. You can look at running a scheduled job to execute the process from windows or possibly look into using powershell to accomplish all of the above.
Hopefully this will start you off. Let me know if you're stuck and I'm sure we can cobble something together.
Sorry for the ugly links, I had too few points to attach more than one hyperlink. I will clean it up when I earn my big boy pants. – godel – 2009-10-22T21:17:17.760
Ok, I fixed the links. – godel – 2009-10-28T03:49:20.773
Hi,
What I wanted to do is to automate a sending of some status messages and suchlike, so it's like a mail merge. Doing a mail merge with Word/Access is something I've done before, but I wanted to do it from a server, not "manually".
I know I can do it via VBA, etc, just "digging around" to see if there was something pre-built I could use.
Thanks anyhow for the pointers, they're useful.
BR – JJarava – 2009-12-29T10:47:57.663