Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SpreadsheetLauncher.EnsureImport Method

Last modified: October 23, 2009

Applies to: SharePoint Foundation 2010

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


expression.EnsureImport()

expression

An expression that returns a SpreadsheetLauncher Control object.

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

Show:
© 2015 Microsoft