Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.18 KB

Excel.Chart.ApplyLayout.md

File metadata and controls

40 lines (24 loc) · 1.18 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Chart.ApplyLayout method (Excel)
vbaxl10.chm149174
vbaxl10.chm149174
Excel.Chart.ApplyLayout
0e07936d-c179-9b38-a6d4-1d71d1c5af3b
04/16/2019
medium

Chart.ApplyLayout method (Excel)

Applies the layouts shown in the ribbon.

Syntax

expression.ApplyLayout (Layout, ChartType)

expression A variable that represents a Chart object.

Parameters

Name Required/Optional Data type Description
Layout Required Long Specifies the type of layout. The type of layout is denoted by a number from 1 to 10.
ChartType Optional XlChartType The type of chart.

Remarks

When you use a layout on the current chart type, a number from 1 to 10 is applied to the chart type. You can also apply the layout of one chart type on another chart type. For example, you can apply the layouts that are available from a line chart to a column chart. The layout only adds chart elements that are available for that particular chart type.

[!includeSupport and feedback]