A family of Microsoft word processing software products for creating web, email, and print documents.
Hi Peter,
You could first verify the actual save status
If activedocument.Saved= False then
Sub StampAndSave()
Dim doc As Word.Document
Set doc = ActiveDocument ' this was move up
Call Stamp ' try to jump over this line
DoEvents
MsgBox "StampAndSave active document is: " & doc.Name
id doc.saved = Falsse then doc.Save
doc.UndoClear
Set doc = Nothing
End Sub
Regards
JY