I am using the code
MyExtractName="PurchaserDetails"
DoCmd.SelectObject acTable, MyExtractName, True
DoCmd.RunCommand acCmdWordMailMerge
to effect a mail merge (with user selected Word document)from code on an 'on-click' event on a form - it works but..... it doesn't select the Word window - it leaves it minimizsed on the task bar and returns to the form - and the user (well we know what users are like!) thinks it hasn't happened and does it again (and again... and again.....)
I know there's a simple solution -- isn't there?
MyExtractName="PurchaserDetails"
DoCmd.SelectObject acTable, MyExtractName, True
DoCmd.RunCommand acCmdWordMailMerge
to effect a mail merge (with user selected Word document)from code on an 'on-click' event on a form - it works but..... it doesn't select the Word window - it leaves it minimizsed on the task bar and returns to the form - and the user (well we know what users are like!) thinks it hasn't happened and does it again (and again... and again.....)
I know there's a simple solution -- isn't there?