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: 60
Default Chart Datalabels.Position

Hello group,

I am using Excel 2003.

For a chart with labels, I am using
.datalabels.position = 2 : Outside, 3 : Inside, 4 : Bottom
How do I implement these defined constants below (VBA Help) ?

XlDataLabelPosition can be one of these XlDataLabelPosition constants.
xlLabelPositionAbove
xlLabelPositionBestFit
xlLabelPositionCustom
xlLabelPositionInsideEnd
xlLabelPositionMixed
xlLabelPositionRight
xlLabelPositionBelow
xlLabelPositionCenter
xlLabelPositionInsideBase
xlLabelPositionLeft
xlLabelPositionOutsideEnd

If I use .DataLabels.Position = xlLabelPositionBelow
I get a run time error 1004
Curiously,
? XlLabelPostion.Right
-4152
and
? XlLabelPostion.Left
-4131

Any insights

Michael Singmin


 
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
Error 1004 when programming DataLabels.Position hturk Excel Programming 18 August 27th 05 04:40 AM
Lock the chart but leave datalabels position editable Joy Charts and Charting in Excel 1 June 13th 05 08:21 PM
Be able to edit position of datalabels in a protected chart. Joy Excel Programming 2 June 13th 05 08:21 PM
How to assign datalabels to a scatter chart, obtaining the labels. Jos Koot Excel Discussion (Misc queries) 1 April 22nd 05 12:11 PM
Excel Chart Datalabels Sean Howard Excel Programming 6 April 20th 04 12:04 AM


All times are GMT +1. The time now is 01:23 AM.

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"