View Single Post
  #4   Report Post  
Michael Bednarek
 
Posts: n/a
Default

On Wed, 24 Aug 2005 05:54:27 -0700, "JP"
wrote in microsoft.public.word.docmanagement:

The users do have GM installed.


1) Yell angrily at the developers of Goldmine; modifying the default
behaviour of MS Word in this ill conceived manner is beyond the pale.
Threatening litigation might be a good starting point.

2) As a work-around, I came up with this code some time ago. I have put
it in ThisDocument of the normal.dot template of the affected users.

Private Sub Document_Close()

If ActiveDocument.Saved = True Then
If MsgBox("This document has allegedly already been saved." & vbCr & vbCr _
& "Do you want to save it anyway?", vbYesNo + vbQuestion, "Defeat Goldmine Document_Close Event") = vbYes Then
On Error Resume Next
ActiveDocument.Save
End If
Else
If MsgBox("This document has not yet been saved." & vbCr & vbCr _
& "Do you want to save it?", vbYesNo + vbQuestion, "Defeat Goldmine Document_Close Event") = vbYes Then
On Error Resume Next
ActiveDocument.Save
End If
End If
On Error GoTo 0
End Sub

"Michael Bednarek" wrote:

On Tue, 23 Aug 2005 13:54:03 -0700, "JP"
wrote in microsoft.public.word.docmanagement:

When I am in Word and hit the top X in the right hand corner it does not
prompt me to save the document. It immediately just closes out of Word and I
loose my information. If I go to FileSave As... then it works just fine.
Is there a setting I can turn off/on in order for the Save question to come
up when I click the X? Any suggestions? Thank you in advance.


We observed similar behaviour where users had Goldmine installed. ISTM
that Goldmine deploys a bunch of ill-behaved auto_ macros.

Do you also have Goldmine installed?


--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"