Share via


Background Property [Publisher 2003 VBA Language Reference]

Sets or returns a PageBackground object representing the background of the specified page.

expression.Background

expression Required. An expression that returns a Page object.

Remarks

This property is for publication pages only. Any attempt to create a background for a master page will return a "Permission denied" error.

Example

The following example creates a PageBackground object and sets it to the background of the first page of the active document.

Dim objPageBackground As PageBackground
Set objPageBackground = ActiveDocument.Pages(1).Background
    

Applies to | Page Object