Officelink Code

  • Thread starter Thread starter Dinsdale
  • Start date Start date
D

Dinsdale

Hi Everyone,

I am wondering if there is code which replicates the Office Links
options in Access. Specifically, Merge with Word. I would like to retain
the wizard functionality, and I can't see anything that would guide me.
I could leave the user to go to the database window, choose the relevant
query, then run the Office Links steps, but as someone has already
managed to delete a query from the mde, I would rather leave that option
if I could. Any hints?

Andrew
 
well, i'm not sure if this is what you're looking for, but you could try
running the following code, perhaps from a command button on a form, as

DoCmd.SelectObject acQuery, "Query6", True
DoCmd.RunCommand acCmdWordMailMerge

replace Query6 with the correct name of your query, of course.

hth
 
Back
Top