chart error bars

P

Paula Galloway

Has anyone had success with creating custom error bars in Excel 2007 from VBA?

In prior versions I was able to do so with

ActiveChart.SeriesCollection(4).ErrorBar Direction:=xlY, Include:= _
xlPlusValues, Type:=xlCustom, Amount:="=MySheet!R2C17:R4C17"

When I try that code in 2007 I get error 1004, Application-defined or
object-defined error.
 
J

Jon Peltier

Peter -

You were right. Andy figured this one out for me some time ago, and it's now
part of my bag of tricks.

- Jon
 
P

Peter T

Andy figured this one out for me some time ago

I should have guessed :)

Regards,
Peter T
 

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