Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel comments
Message
De
14/03/2006 15:33:09
 
 
À
14/03/2006 15:11:09
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP
Divers
Thread ID:
01104351
Message ID:
01104364
Vues:
12
>According to url http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbaxl11/html/xlproApplication1_HV05199218.asp
>if you want to add a comment to a cell in excel, you do
>With Worksheets(1).Range("e5").AddComment
> .Visible = .F.
> .Text = "reviewed on "+mdy(Date)
>EndWith

This way:
with .Worksheets(1).Range("e5")
  .AddComment()
  .Visible = .F.
  .Comment.Text("reviewed on "+mdy(Date()))
endwith


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform