LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel 2007 Routing workbook to Outlook

Recently, my company (finally) began the transition from Office 2003 to
Office 2007, and I've already run into a snag:

We have an automation (little more than an Excel spreadsheet with VBA code
behind it) that is now failing under Excel 2007 (but worked under 2003).

The offending code is when it tries to route a workbook to Outlook, in order
to send it out as an attachment.

Under 2003, the code would prompt the user for the recipient's last name,
and the routing process would automatically try to find the best match (in
their Outlook contact(s) ) and allow them to pick the correct recipient.


Under 2007, it fails, apparently due to the fact that the .RoutingSlip logic
on the Workbook object has been deprecated.

Here is the code I'm using:

ActiveWorkbook.HasRoutingSlip = True
With ActiveWorkbook.RoutingSlip
.Delivery = xlOneAfterAnother
.Recipients = user1
.Subject = "FOR INITIAL TURNOVER"
.Message = "Here is the Workbook."
End With
ActiveWorkbook.Route


How can I do the equivalent (in VBA) that will work under Excel 2007?


Thanks!

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
routing slip in Excel 2007 LuisE Excel Programming 1 January 29th 10 10:34 PM
Routing slips in Excel 2007 GibsonMan Excel Programming 1 July 18th 08 04:02 PM
How do I send an Excel 2007 workbook to an Outlook Exchange folder alexd Excel Discussion (Misc queries) 3 August 15th 07 10:38 AM
Routing Slips in Excel 2007 - where is "Next Routing Recipient ?" Dan246 Excel Discussion (Misc queries) 4 May 16th 07 06:58 PM
Change Routing Message in Outlook when Excel File is Routed Mike R. Excel Programming 0 November 19th 05 04:41 PM


All times are GMT +1. The time now is 07:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"