Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 996 Bytes

Excel.ShapeRange.PictureFormat.md

File metadata and controls

39 lines (26 loc) · 996 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ShapeRange.PictureFormat property (Excel)
vbaxl10.chm640113
vbaxl10.chm640113
Excel.ShapeRange.PictureFormat
b7d8ec5c-b0b3-3628-475d-16939c467ad6
05/14/2019
medium

ShapeRange.PictureFormat property (Excel)

Returns a PictureFormat object that contains picture formatting properties for the specified shape. Applies to a ShapeRange object that represent pictures or OLE objects. Read-only.

Syntax

expression.PictureFormat

expression A variable that represents a ShapeRange object.

Example

This example sets the brightness and contrast for shape one on myDocument. Shape one must be a picture or an OLE object.

Set myDocument = Worksheets(1) 
With myDocument.Shapes(1).PictureFormat 
 .Brightness = 0.3 
 .Contrast = .75 
End With

[!includeSupport and feedback]