Mail Merge Button on Word

G

Guest

I also accidentally posted this in the General Questions section...

I don't do much programming, and I've run into a problem. What I would like
to do is have the user open a form, entering/choosing information, then
clicking on a command button to merge the record into a Word mail merge
template. Ideally, I would like this to be done all in one button.

I've tried the "Merge Single Word" code, however, in order for the code to
work for me, the record source for the form has to be set to the table/query
that will be the record source for the mail merge template. When I set the
form's record source to the query that needs the information entered on the
form, the form fails. When I set the form's record source to a table
generated from the query that needs the information on the form, I get an
error message that the record or database is locked.

I'm so frustrated because I am so unfamiliar with visual basic. I have
searched through the community groups and newsgroups, but haven't found
exactly the code I need. When I do find some code, it's always missing
something that I can't figure out. If anyone could help me I would
appreciate it. I will be happy to provide any additional information.

Thanks!
 

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