
Send form using Outlook, "For Astrid"
Hi Nick,
Quote:
> When i use the code to send the form the first time, its
> ok.
> but if i use it again, it will error out.
Ok. So what exactly do you mean? Is your code in a template(.dot) or in a document (.doc)
If the latter, is what you're saying is, I made a document, send it once and it was ok, send the same doc for the second time and it's not ok?
It could be that since the routingslip is set the first time, it errors the second time because it's still filled in a sort of way.
What happens if you first set the HasRoutingSlip property to False and then to True again?
ActiveDocument.HasRoutingSlip = False
ActiveDocument.HasRoutingSlip = True
Hope this helps,
regards,
Astrid
So that all can benefit from the discussion, please post all follow-ups to the newsgroup.
Visit the MVP Word FAQ site at http://www.mvps.org/word/