LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Set Legend of a Chart from VBA?

I'm trying to set the Legend caption of a Chart by referencing a cell in a
different sheet but

ActiveChart.Legend.LegendEntries(1) =
ActiveWorkbook.Sheets("Sheet2").Range("F2").Value

gives me "Object doesn't Support this property or method".

Is there anyway to do this?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
add legend to chart T.H Charts and Charting in Excel 1 July 30th 09 10:53 AM
Legend on Chart Double L Charts and Charting in Excel 7 June 11th 08 07:01 PM
Bar Chart Legend Key Certior Charts and Charting in Excel 3 September 26th 07 03:51 PM
Chart Legend PCLIVE Charts and Charting in Excel 6 May 5th 06 01:42 AM
pie chart legend CM Charts and Charting in Excel 0 October 17th 05 11:17 PM


All times are GMT +1. The time now is 11:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"