Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code that sets the Legend position for a chart object
For Each objCht In WS.ChartObjects With objCht.Chart .Legend.Position = xlLegendPositionBottom End With Next It stops on the .legend.position line with the error Run-time error '-217467259 (80004005)': Method 'Position' of object 'Legend' failed. But then I can step right through the code without a problem. What gives? Thanks, Barb Reinhardt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Legend Overlaps Chart in Excel 2007 | Charts and Charting in Excel | |||
Excel 2007. Is it possible to format Legend Key? | Charts and Charting in Excel | |||
Excel 2007 Legend Key Problem | Charts and Charting in Excel | |||
Legend in Chart changes position every time I copy the graph | Excel Discussion (Misc queries) | |||
Legend box position resetting when reopening file | Charts and Charting in Excel |