![]() |
|
#15
|
||||
|
||||
|
Where does currDoc come from? In any event, it has nothing to do with how you're closing the documents, since you're not actually using it for anything. Thus:
Code:
With DocSrc currDoc = .FullName .Close SaveChanges:=wdDoNotSaveChanges End With With DocAcro currDoc = .FullName .Close SaveChanges:=wdDoNotSaveChanges End With Code:
With DocSrc .Close SaveChanges:=wdDoNotSaveChanges End With With DocAcro .Close SaveChanges:=wdDoNotSaveChanges End With Code:
DocSrc.Close SaveChanges:=wdDoNotSaveChanges DocAcro.Close SaveChanges:=wdDoNotSaveChanges Code:
DocAcro.Close False: DocSrc.Close False
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|