From: r2715seattle on 5 Feb 2007 18:26 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.
From: Doug Robbins - Word MVP on 6 Feb 2007 02:52 ..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 <r2715seattle(a)gmail.com> wrote in message news:1170718010.359779.63630(a)j27g2000cwj.googlegroups.com... > 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. >
From: RobertSeattle on 6 Feb 2007 10:35 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.
|
Pages: 1 Prev: Inserting nesting tables not working correctly Next: TmpDDE() ? |