Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Office Automation - last saved by
Message
 
To
12/09/2002 18:40:23
Ron Reimers
University of California-Berkeley
Berkeley, California, United States
General information
Forum:
Microsoft Office
Category:
Word
Miscellaneous
Thread ID:
00700000
Message ID:
00700049
Views:
11
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform