Series overlap/gap width with VBA

K

K Dales

Does anyone know how to set the series overlap and gap
width using VBA? Have looked through all the regular
reference material (including KB search) and can't find
any way to refer to these properties programatically.

Thanks!
K Dales
 
A

Andy Pope

Hi K,

The macro recorder is a good way to discover these properties.

It produced this code for me.

With ActiveChart.ChartGroups(1)
.Overlap = 20
.GapWidth = 50
End With

Cheers
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top