Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel ApplyDataLabels property
Message
De
07/06/2001 14:32:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00516033
Message ID:
00516532
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform