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