I'm trying to get Access 97 to initiate Word 97 and run a macro within Word.
I've got the DoCmd object, and am trying to get both the Maximize and RunMacro functions to work, ie to maximize my Word application and execute MyMacro. Why isn't this working?
channel = DDEInitiate("winword", "SYSTEM"
DDEExecute channel, DoCmd.Maximize
DDEExecute channel, DoCmd.RunMacro("MyMacro"
DDETerminate channel
I've got the DoCmd object, and am trying to get both the Maximize and RunMacro functions to work, ie to maximize my Word application and execute MyMacro. Why isn't this working?
channel = DDEInitiate("winword", "SYSTEM"
DDEExecute channel, DoCmd.Maximize
DDEExecute channel, DoCmd.RunMacro("MyMacro"
DDETerminate channel