CreatePublisher Method

Applies To

Chart Object, Range Object.

Description

Creates a publisher based on a Chart or a Range. Available only on the Apple Macintosh with System 7 or later.

Syntax

object.CreatePublisher(edition, appearance, size, containsPICT, containsBIFF, containsRTF, containsVALU)

object

Required. The Chart or Range object.

edition

Optional. The filename of the edition to be created. If omitted, a default of <Document Name> Edition #n is used.

appearance

Optional. One of xlPrinter or xlScreen.

size

Optional (used only with Chart objects). One of xlPrinter or xlScreen.

containsPICT

Optional. True if the publisher should include PICT format. Assumed True if not specified.

containsBIFF

Optional. True if the publisher should include BIFF format. Assumed True if not specified for a Range, False for a Chart.

containsRTF

Optional. True if the publisher should include RTF format. Assumed True if not specified for a Range, False for a Chart.

containsVALU

Optional. True if the publisher should include VALU format. Assumed True if not specified for a Range, False for a Chart.

Example

This example creates a publisher based on cells A1:A20 on Sheet1.


Worksheets("Sheet1").Range("A1:A20").CreatePublisher "stock data"