Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 26th, 2006, 08:33 AM
Registered User
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default RountingSlip doesn´t work

Hello.

I'm having troubles with the rountingslip.
I have created a word object in excel vba and i'm trying to send the word document to 2 recipients. I used the rounting slip but it only sends it to the first recipient and also doesn't recognize the returnwhendone command.

The code i use is:

obj_word.ActiveDocument.HasRoutingSlip = True
    With obj_word.ActiveDocument.RoutingSlip
        .Subject = "Esquema DCD"
        .Message = "Enviamos em anexo o esquema de um DCD fechado há pouco."
        .ReturnWhenDone = False
        .Delivery = wdoneafteranother
        .AddRecipient recipient:="x981387"
        .AddRecipient recipient:="x060122"
    End With
    obj_word.ActiveDocument.Route

In a previous code i have created the object.

Can someone help me. It's driving me crazy...
Tks in advance





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 1 Ctrl+F5 don't work, F5 does work? jimboak BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 June 29th, 2008 03:46 AM
Eval ImageUrl doesn´t work studioc BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 May 23rd, 2008 05:57 AM
Why Does This Work? Little Shell VB How-To 2 October 13th, 2006 05:26 PM
my .jar doesn´t "call" Javamail library a19987044 BOOK: Beginning Cryptography with Java 1 May 28th, 2006 08:03 PM
Session_OnEnd doesn´t work Adlorenzo ASP.NET 1.0 and 1.1 Professional 7 May 22nd, 2004 04:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.