Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Office Automation - last saved by
Message
 
À
12/09/2002 18:40:23
Ron Reimers
University of California-Berkeley
Berkeley, Californie, États-Unis
Information générale
Forum:
Microsoft Office
Catégorie:
Word
Divers
Thread ID:
00700000
Message ID:
00700049
Vues:
13
>I want to know which user last saved a word document. With VBA (Word 2002) this works:
>
gcLastSavedBy = ActiveDocument.BuiltInDocumentProperties(wdPropertyLastAuthor)
. I'm unable to figure out the VFP 6 equivalant? Here's one example of what I've tried with VFP :
>
>
# define wdPropertyLastAuthor
>oWord = createobject("Word.Application")
>gcLastSavedBy = oWord.ActiveDocument.BuiltInDocumentProperties(wdPropertyLastAuthor)
>
. There's no errors, but the variable is returned as an object.

You can also get this information without Office automation and even Office installed. Take a look on Q224351.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform