View Single Post
 
Old 06-20-2011, 12:26 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2007
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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,

If you take a look at the code I posted in #15 in this thread: https://www.msofficeforums.com/vba/7...ction-etc.html you'll see that I work with up to four documents at a time, each of which is managed via a variable and none of which I need to make active for processing purposes. The 'master' document for each set is defined and managed via:
Code:
Set DocSrc = Documents.Open(FileName:=strInFold & "\" & strFile, AddTorecentFiles:=False, Visible:=False)
  With DocSrc
  ...
  End with
As for the programmer not anticipating '[Compatibility Mode]' in the window name, the same oversight probably made the software incompatible with any window-naming customizations a client might do.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote