True enough, mine is a quick solution, not an elegant one. I'm a Unix programmer not a Windows/Office programmer, and don't have much DDE experience - I would guess that you could probably use SBXA's TU.DDE.READ function to return the window name associated with the document, and then make that window active? Or can you make a window active with a direct macro call referencing the document name?
To be fair on the original programmer of QUOTE.WORD.MERGE, he or she did write it in March 1999 and probably never considered the possibility of a "compatibility mode"!
|