LocationOfComponents Property Example

This example sets the path where Office components are downloaded.

Application.DefaultWebOptions.LocationOfComponents = _
    Application.Path & Application.PathSeparator & "foo"