D
Dom
I want be able to open a new document in VB from a clients record, then when
the select save, I want to be able to run my own bit of code to save it to a
specified location, then updtae the clients record in the database with the
path, name, title etc of the letter. I have got it to open word inside of a
frame, then make the save as menu iption invisible, and to rename the Save
butto to Save to client, but what I want to do is set the .OnAction to point
to some code (preferabbly not a macro as I have to distribue it easily).
this is what I have so far
With mwrdApp.CommandBars.ActiveMenuBar
.Controls("&File").Controls("&Save").Caption = "&Save to client"
.Controls("&File").Controls("&Save").OnAction = "xxxxx" 'This is
where I am stuck
End With
the select save, I want to be able to run my own bit of code to save it to a
specified location, then updtae the clients record in the database with the
path, name, title etc of the letter. I have got it to open word inside of a
frame, then make the save as menu iption invisible, and to rename the Save
butto to Save to client, but what I want to do is set the .OnAction to point
to some code (preferabbly not a macro as I have to distribue it easily).
this is what I have so far
With mwrdApp.CommandBars.ActiveMenuBar
.Controls("&File").Controls("&Save").Caption = "&Save to client"
.Controls("&File").Controls("&Save").OnAction = "xxxxx" 'This is
where I am stuck
End With