Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.charting
|
|||
|
|||
How do I write text on a bar chart using VBA
I have a worksheet with various bar charts. I want to write text inside the
bar but cannot figure out the correct control name to modify the text. Any help is appreciated |
#2
Posted to microsoft.public.excel.charting
|
|||
|
|||
How do I write text on a bar chart using VBA
You can add a data label to the data point.
With ActiveChart.SeriesCollection(1).Points(1) .HasDataLabel = True With .Datalabel .Caption = "Hello" .Position = xlLabelPositionCenter .Orientation = xlUpward '' and more if desired End With End With - Jon ------- Jon Peltier Peltier Technical Services, Inc. http://peltiertech.com/ Barney wrote: I have a worksheet with various bar charts. I want to write text inside the bar but cannot figure out the correct control name to modify the text. Any help is appreciated |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to write a macro to modify an Excel chart | Charts and Charting in Excel | |||
How can i write 2 lines of text in one cell? | Excel Discussion (Misc queries) | |||
how do I write a formula to copy text from one cell to another? | Excel Worksheet Functions | |||
how do write the amount of a number in text? | Excel Worksheet Functions | |||
how do I make a chart & write in it? | Charts and Charting in Excel |