Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with DocumentBeforeSave

Status
Not open for further replies.

Blitz

Technical User
Jul 7, 2000
171
0
0
US
Private Sub beforesave(ByVal sender As System.Object, ByVal e As Word.????????) Handles wordApp.DocumentBeforeSave

End Sub

It says the method cannot handle the event because they do not have the same signature, the problem is I dont know what e need to be to be able to handle the event. Anyone know?
 
Tried already, doesnt work
 
The doco seems to say that the signature should be.

Private Sub object_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI As
Boolean, Cancel As Boolean)

and that you need to set up an event handler and point it to this sub.

Hope that helps but you've probably already been down this track.

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top