Thread: legendentries
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default legendentries

It worked fine for me. What type of chart are you working with?

--
Regards,
Tom Ogilvy



"ojv" wrote in message
...
The following code applied to an embedded chart in a chartsheet fails with
error message 'Unable to get the Legendentries property of the

Legendclass'.
Error # 1004.

For Each le In ActiveChart.Legend.LegendEntries
le.LegendKey.Border.LineStyle = xlNone
Next

Any idea why?

ojv