DefaultFilePath Property Example

This example sets the default folder for Word documents.

Options.DefaultFilePath(wdDocumentsPath) = "c:\My Documents"

This example returns the current default path for user templates (corresponds to the default path setting on the File Locations tab in the Options dialog box).

temp = Options.DefaultFilePath(wdUserTemplatesPath)