View Single Post
 
Old 06-19-2011, 04:43 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2007
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Matt,

Whilst it might be true in one sense that the "problem is caused by Word 2007/2010 renaming the window", the underlying cause is that MasterPack was poorly programmed so as to rely on the window name instead of relying on the document name. Your suggestion, to:
Quote:
modify "the program QUOTE.WORD.MERGE in Masterpack so that the call to TU.DDE.EXEC.MACRO looks for the window named "quote.doc [Compatibility Mode]"
might work around the problem for now, but can't be relied on for the future. For example, if you later decide you need to modify the code so that it creates a new document in the docx format, the 'Compatability Mode' workaround will start causing problems. Likewise if MS decides to change the display in a later version/update. The only 100% reliable cure is to set a variable name for the 'Quote' document and use that as the parameter by which all calls to the document are processed.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote