|Excel Developer Reference|
Returns a Graphic object that represents the picture for the center section of the header. Used to set attributes about the picture.
expression A variable that represents a PageSetup object.
The CenterHeaderPicture property is read-only, but the properties on it are not all read-only.
It is required that "&G" is a part of the CenterHeader property string in order for the image to show up in the center header.
The following example adds a picture titled: Sample.jpg from the C:\ drive to the center section of the header. This example assumes that a file called Sample.jpg exists on the C:\ drive.
|Visual Basic for Applications|