SpreadsheetLauncher.EnsureImport Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Verifies that the control that is used for import and export of contacts is present and registered.

expression.EnsureImport()

Parameters

expression

An expression that returns a SpreadsheetLauncher Control object.

Example

The following example creates a SpreadsheetLauncher object and verifies its presence and registration. For a complete example that implements this code block, see Importing Contacts with the Spreadsheet Launcher Control.

Set objEnsureImport = CreateObject("SharePoint.SpreadsheetLauncher.2")

If IsObject(objEnsureImport) Then
   objEnsureImport.EnsureImport()
End If