Word 2007 backward compatibility - RoutingSlips

R

r2715seattle

This code is failing at the HasRoutingSlip
Sub HasRoutingSlip()

If ActiveDocument.HasRoutingSlip = True Then

End If

End Sub

Error 5892
Method 'HasRoutingSlip' of object '_Document' failed

I realize this is a hidden property in Word 2007, but shouldn't it
still work? The code fails regardless if the Activedocument has a
routing slip or not.
 
D

Doug Robbins - Word MVP

..HasRoutingSlip no longer appears when you type ActiveDocument. in the VBE

What does appear though is a HasMailer item, but I cannot find any
information about it anywhere. Maybe it will do what you are after.
--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
R

RobertSeattle

Has Mailer is for the Mac. HasRoutingSlip is one of dozens of
properties/methods that are now deemed "hidden" in the Word 2007
object model. meaning it won't show up in the autocomplete. The
peculiar thing is that Microsoft didn't update the help files since my
example is basically right out of the help files - but it doesn't work
anymore. This property "should" still work for backward compatability
in my opinion - perhaps it is so little used that it didn't get
reported as a bug in the Office 2007 betas. Maybe they'll fix this in
a service pack.
 

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

Top