Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
I'd like to programmatically extract the error bar definition for a bunch of
series within a chart. I can get the series formula using ..SeriesCollection(k).Formula What do I need to use to get the error bar definition? Thanks |
#2
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
This is not possible in VBA, at least not without using SendKeys*. VBA
cannot read the values of the error bars, and doesn't even know there are separate X and Y error bars in an XY chart. In the UI you can select the X and Y error bars and format them separately, but VBA only has an ErrorBars property, and therefore must format X and Y error bars identically. *You could use the much maligned (and deservedly so) SendKeys method to select the data range for the error bars in the error bar dialog's input boxes. I've never been desperate enough to try this. Obviously there's room for improvement. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ "Barb Reinhardt" wrote in message ... I'd like to programmatically extract the error bar definition for a bunch of series within a chart. I can get the series formula using .SeriesCollection(k).Formula What do I need to use to get the error bar definition? Thanks |
#3
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
Thanks so much! < /sarcasm I had a feeling that was it.
"Jon Peltier" wrote: This is not possible in VBA, at least not without using SendKeys*. VBA cannot read the values of the error bars, and doesn't even know there are separate X and Y error bars in an XY chart. In the UI you can select the X and Y error bars and format them separately, but VBA only has an ErrorBars property, and therefore must format X and Y error bars identically. *You could use the much maligned (and deservedly so) SendKeys method to select the data range for the error bars in the error bar dialog's input boxes. I've never been desperate enough to try this. Obviously there's room for improvement. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ "Barb Reinhardt" wrote in message ... I'd like to programmatically extract the error bar definition for a bunch of series within a chart. I can get the series formula using .SeriesCollection(k).Formula What do I need to use to get the error bar definition? Thanks |
#4
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
VBA cannot even distinguish between X and Y error bars when formatting. They
didn't hook up error bars into the object model very tightly. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ "Barb Reinhardt" wrote in message ... Thanks so much! < /sarcasm I had a feeling that was it. "Jon Peltier" wrote: This is not possible in VBA, at least not without using SendKeys*. VBA cannot read the values of the error bars, and doesn't even know there are separate X and Y error bars in an XY chart. In the UI you can select the X and Y error bars and format them separately, but VBA only has an ErrorBars property, and therefore must format X and Y error bars identically. *You could use the much maligned (and deservedly so) SendKeys method to select the data range for the error bars in the error bar dialog's input boxes. I've never been desperate enough to try this. Obviously there's room for improvement. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ "Barb Reinhardt" wrote in message ... I'd like to programmatically extract the error bar definition for a bunch of series within a chart. I can get the series formula using .SeriesCollection(k).Formula What do I need to use to get the error bar definition? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
extracting characters at a specified limit to seperate cells | Excel Discussion (Misc queries) | |||
Ignoring Rows When Extracting Data From One Worksheet To Another | Excel Worksheet Functions | |||
Extracting First Name | New Users to Excel | |||
dropdownlist- I want user to choose a # but can I add definition | Excel Discussion (Misc queries) | |||
Extracting info from word and displaying in an excel spreadsheet | Excel Discussion (Misc queries) |