Using Microsoft Office Web Components on Forms

You can add Microsoft Office Web Components to a form in Microsoft Visual Basic or Visual Basic for Applications in the same way that you add any other ActiveX control to a form. However, note that the Property Toolbox cannot be displayed from a Microsoft Office Web Component on a modal form. When the user of a modal form clicks the Property Toolbox button on the toolbar of a Microsoft Office Web Component or clicks the Property Toolbox command on the shortcut menu, an error message is displayed. In Visual Basic and Visual Basic for Applications, you can use the ShowModal property to make a form modeless at run time. The same consideration applies to modal forms created in design environments other than those in Microsoft Visual Basic and Microsoft Office.