yes Della,
I got the constants yesterday after I woked in this particular method. I got tired of hunting for what each constant meant and now I can #INCLUDE the file.
Hopefully now that I'm working w/Excel I'll get to know these methods/Properties a little more.
Thanks for the expanation Della
>
>ApplyDataLabels is a method that takes up to four parameters, only the first of which is usually used. The first parameter is the Type parameter. Try:
>
oBook.ActiveChart.SeriesCollection(1).ApplyDataLabels(3)
>Even better, use #DEFINES to make sense of VBA's constant names, which makes your code easier to read when you need to maintain it:
>
#DEFINE xlDataLabelsShowPercent 3
>oBook.ActiveChart.SeriesCollection(1).ApplyDataLabels(xlDataLabelsShowPercent)
>
>Hope this helps.
>
> - della