Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Data Label Object Position not working

I have the following code in a spreadsheet:

ActiveChart.SeriesCollection(i).DataLabels.Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.Position = xlLabelPositionAbove
.Orientation = xlDownward

I keep getting a run-time error '1004', application or
object defined error with the program reaches the line

.Position = xlLabelPositionAbove

but this seems to be the correct code. If I record a
macro, this is the code that is recorded, however it will
not run. I appreciate any help
Reply
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
Changing the data label position below the chart axis. Laura Charts and Charting in Excel 2 July 20th 09 07:32 PM
2 Label Options - Forms Object vs Control Box Object Awrex Excel Discussion (Misc queries) 3 July 17th 09 07:10 PM
2003 Excel Radar Chart Data Label Position Bill Excel Discussion (Misc queries) 1 September 25th 08 02:48 PM
Default Data Label Position Kermit Charts and Charting in Excel 2 January 16th 08 01:18 AM
Outside Label Position not listed Debbie Charts and Charting in Excel 1 September 8th 06 10:28 AM


All times are GMT +1. The time now is 05:19 PM.

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

About Us

"It's about Microsoft Excel"