SpreadsheetLauncher.EnsureImport Method
SharePoint 2010
Published: May 2010
Verifies that the control that is used for import and export of contacts is present and registered.
expression.EnsureImport()
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 Using the Spreadsheet Launcher Control.
Set objEnsureImport = CreateObject("SharePoint.SpreadsheetLauncher.2") If IsObject(objEnsureImport) Then objEnsureImport.EnsureImport() End If