Report.PicturePages property (Access)

Use the PicturePages property to specify on which page or pages of a report a picture will be displayed. Read/write Byte.

Syntax

expression.PicturePages

expression A variable that represents a Report object.

Remarks

The PicturePages property uses the following settings.

Setting Visual Basic Description
All Pages 0 (Default) The picture appears on all pages of the report.
First Page 1 The picture appears only on the first page of the report.
No Pages 2 The picture doesn't appear on the report.

Example

The following example prints a stretched version of the picture Logo.gif on only the first page of the Purchase Order report.

With Reports("Purchase Order") 
 .Picture = "C:\Picture Files\Logo.gif" 
 .PictureSizeMode = 1 
 .PicturePages = 1 
End With

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.