DownloadComponents Property Example
This example allows the Office Web components to be downloaded with the specified Web page, if they are not already installed.
Application.DefaultWebOptions.DownloadComponents = True
Application.DefaultWebOptions.LocationOfComponents = _
Application.Path & Application.PathSeparator & "foo"