It works fine with Word 2004 and Word X (for example). Word 2008 has no
VBA - an Applescript version would probably not be much harder, although
(a) "print out" has been deprecated and (b) "print out" seems to have a
slightly different set of parameter definitions from the VBA version.
Peter Jamieson
http://tips.pjmsn.me.uk
Visit Londinium at
http://www.ralphwatson.tv
On 20/10/2009 06:32, Doug Robbins - Word MVP wrote:
Dim i As Long
With ActiveDocument
For i = 1 To .Sections.Count
.PrintOut Range:=wdPrintFromTo, From:="s"& i, To:="s"& i
Next i
End With