C
Caspar M Lund
Hi!
I have a macro (see below) that runs the file->send to ->
person in distribution list with spesific parameters. What
I want is that a spesific text in that word-doc to
overwrite the "Distribution: Document" in the .Subject
= "Distribution: Document" line in the makro.
Is this possible?
Best regards
Caspar M Lund
Norway
Sub distr()
'
' distr Makro
' Makro registrert 01.04.2004 av caspar
'
ActiveDocument.HasRoutingSlip = False
ActiveDocument.HasRoutingSlip = True
ActiveDocument.RoutingSlip.AddRecipient
Recipient:="Arne Kjetil Johnsen"
ActiveDocument.RoutingSlip.AddRecipient
Recipient:="Nils Ivar Stellberg"
With ActiveDocument
With .RoutingSlip
.Protect = wdAllowOnlyComments
.Subject = "Distribution: Document"
.Message = ""
.Delivery = wdOneAfterAnother
.ReturnWhenDone = True
.TrackStatus = True
End With
.Route
End With
End Sub
I have a macro (see below) that runs the file->send to ->
person in distribution list with spesific parameters. What
I want is that a spesific text in that word-doc to
overwrite the "Distribution: Document" in the .Subject
= "Distribution: Document" line in the makro.
Is this possible?
Best regards
Caspar M Lund
Norway
Sub distr()
'
' distr Makro
' Makro registrert 01.04.2004 av caspar
'
ActiveDocument.HasRoutingSlip = False
ActiveDocument.HasRoutingSlip = True
ActiveDocument.RoutingSlip.AddRecipient
Recipient:="Arne Kjetil Johnsen"
ActiveDocument.RoutingSlip.AddRecipient
Recipient:="Nils Ivar Stellberg"
With ActiveDocument
With .RoutingSlip
.Protect = wdAllowOnlyComments
.Subject = "Distribution: Document"
.Message = ""
.Delivery = wdOneAfterAnother
.ReturnWhenDone = True
.TrackStatus = True
End With
.Route
End With
End Sub