Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My purpose is to modify legenkey. To change its color,
style, and delete anneccesary ones. I am using follow VB script Dataset = 60 for i = 1 to Dataset ActiveChart.Legend.LegendEntriesi).LegendKey.Borde r .ColorIndex = 39 next i It only works for 30, then show Run-time Error 1004: Unable to get the Legendkey property of the LegendEntry class. There are total 62 data items on the chart. I can manual modify the item 31 and Macro_recorder shows it is LegendEntries(31). But it couldn't work using macro. What is the reason and how to solve it? Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IP ADDRESS MODIFICATION | Excel Discussion (Misc queries) | |||
Macro Modification | Excel Worksheet Functions | |||
last modification | Excel Discussion (Misc queries) | |||
Last Modification Date | Excel Worksheet Functions | |||
Code Modification | Excel Programming |