April 2006
Beginner
1114 pages
98h 16m
English
options.LocationOfComponents [= setting]
Sets or returns the URL from which to download the Office Web Components (owc10.exe or owc11.exe) if they are not installed on the user’s machine. The default is the drive from which Office was originally installed (usually the CD drive).
You can copy the Office Web Components to a folder on your web server, then set this property to ensure the components will be installed automatically if needed, as shown here:
Sub SetDownload( )
Dim wo As DefaultWebOptions
Set wo = Application.DefaultWebOptions
wo.LocationOfComponents = _
"http://www.excelworkshop.com/Ch11Sample/owc11.exe"
wo.DownloadComponents = True
End SubRead now
Unlock full access