Graphic Object
Excel Developer Reference |
Contains properties that apply to header and footer picture objects.
Remarks
There are several properties of the PageSetup object that return the Graphic object.
Use the CenterFooterPicture , CenterHeaderPicture , LeftFooterPicture , LeftHeaderPicture , RightFooterPicture , or RightHeaderPicture properties to return a Graphic object.
Note |
---|
It is required that "&G" is a part of the LeftFooter string in order for the image to show up in the left footer. |
Example
The following example adds a picture titled: Sample.jpg from the C:\ drive to the left section of the footer. This example assumes that a file called Sample.jpg exists on the C:\ drive.
Visual Basic for Applications |
---|
|
See Also