WorkbookBase.EnableConnections Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables data connections within the workbook.
public:
void EnableConnections();
public void EnableConnections ();
member this.EnableConnections : unit -> unit
Public Sub EnableConnections ()
Examples
The following code example calls the EnableConnections method to enable data connections in the workbook and suppress any security warnings for existing data connections.
This example is for a document-level customization.
private void EnableWorkbookConnections()
{
this.EnableConnections();
}
Private Sub EnableWorkbookConnections()
Me.EnableConnections()
End Sub