Previous Document Next Document
PDFVBASettings.PageRange

Property PageRange As String

Member of PDFVBASettings

The PageRange property sets the range of pages to publish to PDF. In order to apply this property, the PublishRange property must be set to pdfPageRange.

The following code example publishes the first three pages of the active document to PDF:

Sub Test() 
 With ActiveDocument.PDFSettings 
  .PublishRange = pdfPageRange 
  .PageRange = "1-3" 
 End With 
 ActiveDocument.PublishToPDF "C:\MyDocument.pdf" 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.