Code for Routing command

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Greetings,
I have a form that takes advantage of Excel's routing feature. Instead of
having the user use the normal File>Send To>Routing Recepients to set up the
routing and recepients, I have created a command button to make it easier for
them (and to do some 'behind the scene" tracking). I am running into
something interesting. When the user hits the command button for the first
time, a "Choose Profile" dialog box appears. I have never seen this dialog
before and I am affraid it will definitely confuse my users. I wonder if my
code is proper... Here is the part of the code that opens the routing dialog:
ThisWorkbook.HasRoutingSlip = True
ThisWorkbook.RoutingSlip.Subject = Range("P16")
Application.Dialogs(xlDialogRoutingSlip).Show

This lets me put in the subject, and then the user can set up the routing
recepients. Please help.

Mike
 
Mike

probably just means that Outlook isn't open when they first use the command
button

Regards

Trevor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top