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

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform