Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / March 2005

Tip: Looking for answers? Try searching our database.

Is there a way of attaching  data labels from a text range to dat.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter Sailing by - 31 Mar 2005 00:23 GMT
Is there a way of attaching  data labels from a text range to data markers in
xy plot chart. I'm sure I could do it in Lotus 123
Debra Dalgleish - 31 Mar 2005 00:53 GMT
You can use Rob Bovey's XY Chart Labeler to add labels. It's a free
add-in that you can download from his web site:

       http://www.appspro.com/Utilities/ChartLabeler.htm

> Is there a way of attaching  data labels from a text range to data markers in
> xy plot chart. I'm sure I could do it in Lotus 123

Signature

Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

John Mansfield - 31 Mar 2005 01:57 GMT
In addition to the chart labeler that Deborah noted, you can also use this
macro if for some reason you don't want/need to install an add-in:

Sub AddLabels()               
   Dim RngLabels As Range               
   Dim Ser As Series               
   Dim i As Long               
   If TypeName(Selection) = "Series" Then               
       Set Ser = Selection               
       Set RngLabels = Application.InputBox(prompt:="Select the label
range:", Type:=8)               
       Ser.HasDataLabels = True               
       For i = 1 To Ser.Points.Count               
           Ser.Points(i).DataLabel.Text = RngLabels(i)           
       Next i               
   Else               
       MsgBox "Select a series in a chart."               
   End If               
End Sub               
               
Add the macro to a standard module.  Select the chart and then run the
macro.  In the dialog box, add the reference to the data source like
"Sheet1!A1:A5".               
----
Regards,
John Mansfield
http://www.pdbook.com               

> Is there a way of attaching  data labels from a text range to data markers in
> xy plot chart. I'm sure I could do it in Lotus 123
Tushar Mehta - 31 Mar 2005 14:25 GMT
If you go with the John (as in Mansfield) solution do keep in mind it
is a one-off approach.  It uses the current value in the range but
doesn't link the datalabel to the cell.

Signature

Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

> In addition to the chart labeler that Deborah noted, you can also use this
> macro if for some reason you don't want/need to install an add-in:
[quoted text clipped - 26 lines]
> > Is there a way of attaching  data labels from a text range to data markers in
> > xy plot chart. I'm sure I could do it in Lotus 123
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.