Fills the specified shape with an image.

expression.UserPicture(PictureFile, PictureFormat, PictureStackUnit, PicturePlacement)expressionRequired. An expression that returns one of the objects in the Applies To list.PictureFile Required Variant. The name of the specified picture file.PictureFormat Optional . The format of the specified picture.

XlChartPictureType can be one of these XlChartPictureType constants.
xlScale
xlStackScale

xlStack

xlStretch

PictureStackUnit Optional Variant. The stack or scale unit for the specified picture (depends on the PictureFormatargument).PicturePlacement Optional . The placement of the specified picture.
XlChartPicturePlacement can be one of these XlChartPicturePlacement constants.
xlSides
xlEnd

xlEndSides

xlFront

xlFrontSides

xlFrontEnd

xlAllFaces

Example

This example sets the chart's fill format so that it's based on a user-supplied picture.

With myChart.ChartArea.Fill .UserPicture PictureFile:="C:\My Documents\brick.png" .Visible = True End With