Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
routing slip in Excel 2007 | Excel Programming | |||
Routing slips in Excel 2007 | Excel Programming | |||
How do I send an Excel 2007 workbook to an Outlook Exchange folder | Excel Discussion (Misc queries) | |||
Routing Slips in Excel 2007 - where is "Next Routing Recipient ?" | Excel Discussion (Misc queries) | |||
Change Routing Message in Outlook when Excel File is Routed | Excel Programming |