SharedWorkspaceFile Object
The SharedWorkspaceFile object represents a file saved in a shared document workspace.
Remarks
Use the SharedWorkspaceFile object to manage documents and files saved in a shared workspace.
Example
Although the SharedWorkspaceFile object has a URL property that returns the file's complete path and filename, it does not have a FileName property. Use a simple function to extract the filename from the file's URL as in the following example. An additional supporting function decodes escaped space characters in the URL.
| Visual Basic for Applications |
|---|
|
Use the Item() property of the SharedWorkspaceFilescollection to return a specific SharedWorkspaceFileobject. Use the CreatedBy, CreatedDate, ModifiedBy, and ModifiedDateproperties to return information about the history of each file. The following example returns the number of files in the shared workspace and information about each file, using the supporting functions shown above.
| Visual Basic for Applications |
|---|
|
See also:
| index |