S
Stephen English
I have been using this code to send emails in Groupwise 6.5 with no problems.
With Groupwise 7, it fails at the .subject line with message
"Run Time error '91'
Object variable or with block variable not set
It does not like .subject, .addrecipient and yet it brings them up when you
type a period
docActive.SaveAs strTemp
docActive.HasRoutingSlip = True
With docActive.RoutingSlip
.Subject = "Gifts and Benefits Declaration from " & Me.txtAuthor
.AddRecipient strEmail(i)
.Delivery = wdAllAtOnce
End With
Any ideas please?
Stephen
With Groupwise 7, it fails at the .subject line with message
"Run Time error '91'
Object variable or with block variable not set
It does not like .subject, .addrecipient and yet it brings them up when you
type a period
docActive.SaveAs strTemp
docActive.HasRoutingSlip = True
With docActive.RoutingSlip
.Subject = "Gifts and Benefits Declaration from " & Me.txtAuthor
.AddRecipient strEmail(i)
.Delivery = wdAllAtOnce
End With
Any ideas please?
Stephen