A bit of background info for you, although I don’t know if this makes a difference. Switching our Word code to make it COMS compliant from ODMA .
I’ve posted something similiar, that was for VB. but this is for VBA.
In VBA, I have the following code that no longer works
ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges
and I’ve also tried
ActiveDocument.Saved = False
ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges
I’ve also used send keys, which didnt work.
What happens is the Prompt dialog is displayed, and I dont want the end user to see this. (see below screen capture)
any ideas?
many thanks
diana