Routing - macro to open routing dialog and then stop

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

Guest

Hello,
I am trying to create a macro on a worksheet that will make it nice and easy
for someone to set up routing. When I try to record a macro and the routing
dialog opens up, I can not stop the macro. I must complete the routing. I
would also like put my own subject in the subject line.

Can someone help with a macro that will just open the routing dialog and
stop (and put in a subject that I choose)?

Thank you in advance.
Mike
 
ThisWorkbook.HasRoutingSlip = True
ThisWorkbook.RoutingSlip.Subject = "My own thing in here"
Application.Dialogs(xlDialogRoutingSlip).Show

before the last line above you can define other aspects of the dialog box,
evident in the vb editor when you type the period after:
ThisWorkbook.RoutingSlip
ie delivery, message etc.

Pascal
 

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