Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel ApplyDataLabels property
Message
From
07/06/2001 14:32:26
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00516033
Message ID:
00516532
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform